Hi all,
I am new with MySQL and really need your help.
Questions:
1. How to create a new database
I used: %>mysqladmin create mytestdbs?
2. How to grant a username/pw to that database?
I used:
GRANT select,insert,delete,update on mytestdbs.*
to newuser@123.456.789.0 identified by 'password';
3. How to login in using the new username/pw to that
new database.
NO IDEA!
I used: mysql -u username -p password
but still prompts for password, why?
Really appreciate it if someone can help!
Jay
I am new with MySQL and really need your help.
Questions:
1. How to create a new database
I used: %>mysqladmin create mytestdbs?
2. How to grant a username/pw to that database?
I used:
GRANT select,insert,delete,update on mytestdbs.*
to newuser@123.456.789.0 identified by 'password';
3. How to login in using the new username/pw to that
new database.
NO IDEA!
I used: mysql -u username -p password
but still prompts for password, why?
Really appreciate it if someone can help!
Jay