Creating a MySQL database and adding a user from CLI
mysql -uroot -p mysql> CREATE DATABASE staff_hieraki; mysql> GRANT ALL PRIVILEGES ON staff_hieraki.* TO staff@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;
TextSnippets > jason > databases
2819 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Jason Hoffman http://textdrive.com/
mysql -uroot -p mysql> CREATE DATABASE staff_hieraki; mysql> GRANT ALL PRIVILEGES ON staff_hieraki.* TO staff@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;