Never been to DZone Snippets before?

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

Creating a MySQL database and adding a user from CLI (See related posts)

   1  
   2  mysql -uroot -p
   3  mysql> CREATE DATABASE staff_hieraki;
   4  mysql> GRANT ALL PRIVILEGES ON staff_hieraki.* TO staff@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;

You need to create an account or log in to post comments to this site.


Click here to browse all 5350 code snippets

Related Posts