Hey All...
Trying to figure this out... want to work with a shell command (instead of using cPanel). Want to create a new database and add an existing dbase user to that Dbase all via Shell
1. Create new Database
# mysql
# create database dom1_test1;
... WORKS
2. Then want to Connect User dom1_user9 (already have it setup via cPanel with august66 as password) with ALL privileges to the Dbase above...
# GRANT ALL PRIVILEGES ON dom1_test1 TO
'dom1_user9'@'localhost' IDENTIFIED BY 'august66' WITH GRANT OPTION;
... DOES NOT WORK
Have tried dozens of variations.. with no success.. Can anyone see what I am missing?
Trying to figure this out... want to work with a shell command (instead of using cPanel). Want to create a new database and add an existing dbase user to that Dbase all via Shell
1. Create new Database
# mysql
# create database dom1_test1;
... WORKS
2. Then want to Connect User dom1_user9 (already have it setup via cPanel with august66 as password) with ALL privileges to the Dbase above...
# GRANT ALL PRIVILEGES ON dom1_test1 TO
'dom1_user9'@'localhost' IDENTIFIED BY 'august66' WITH GRANT OPTION;
... DOES NOT WORK
Have tried dozens of variations.. with no success.. Can anyone see what I am missing?