frosty7700
Programmer
I am having a problem logging into a DB with a newly-created user. I have verified that I am indeed entering the right password, so that does not appear to be the issue. Below is the screen output from DB creation through my attempt to login:
[Serv1:/usr/bin] admin% mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3252 to server version: 3.23.53-entropy.ch
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database testdb;
Query OK, 1 row affected (0.00 sec)
mysql> grant select,insert,update,delete,index,alter,create,drop
-> on testdb.*
-> to testuser identified by 'test2003';
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
[Serv1:/usr/bin] admin% mysql -D testdb -u testuser -p
Enter password:
ERROR 1045: Access denied for user: 'testuser@localhost' (Using password: YES)
[Serv1:/usr/bin] admin% mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3252 to server version: 3.23.53-entropy.ch
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database testdb;
Query OK, 1 row affected (0.00 sec)
mysql> grant select,insert,update,delete,index,alter,create,drop
-> on testdb.*
-> to testuser identified by 'test2003';
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
[Serv1:/usr/bin] admin% mysql -D testdb -u testuser -p
Enter password:
ERROR 1045: Access denied for user: 'testuser@localhost' (Using password: YES)