Upgrading the database - mysql says "Access denied"
Posted: Thu Mar 18, 2004 9:21 pm
I presume I've missed something blindingly obvious, or doing something mind-bogglingly stupid, but I can't get mysql to upgrade my database for 1.19.0. This is what happens:
/usr/local/src/zm-1.19.0/db# mysql zm -u webcam -p
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13437 to server version: 3.23.49-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> \. zmalter-1.18.1.sql
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
ERROR 1054: Unknown column 'Type' in 'field list'
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
The "optimize" stuff seems to work Ok. 'webcam' is the user with 'select,insert,update,delete' and I did give it the correct password....
/usr/local/src/zm-1.19.0/db# mysql zm -u webcam -p
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13437 to server version: 3.23.49-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> \. zmalter-1.18.1.sql
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
ERROR 1054: Unknown column 'Type' in 'field list'
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
ERROR 1044: Access denied for user: 'webcam@localhost' to database 'zm'
The "optimize" stuff seems to work Ok. 'webcam' is the user with 'select,insert,update,delete' and I did give it the correct password....