mysql -u root -p
Create a database:
create database mydatabasename;
Create a user with full privilege on that database :
grant all on mydatabasename.* to mydatabaseuser@localhost identified by 'somepassword';
That's all folks.
No comments:
Post a Comment