Hello,
In my Ubuntu 10.04 MySQL server, I created a user in phpMyAdmin with access from anyserver ('myuser'@'%').
If I try to login from a remote host (mysql -u myuser -p --host=<ip-of-remote-mysql-server>), I don't have any problem.
But when I execute the same command on the server (mysql -u myuser -p --host=localhost), I got an error ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
The only way to solve this problem is to create another user with a connection from localhost ('myuser'@'localhost')
I never noticed a such problem (on MySQL 5.1 Windows or MySQL 5.0 on Ubuntu 9.
10).
Do you have any idea of how I can access from localhost without duplicating my user ?
Thanks for your help,
Fred
In my Ubuntu 10.04 MySQL server, I created a user in phpMyAdmin with access from anyserver ('myuser'@'%').
If I try to login from a remote host (mysql -u myuser -p --host=<ip-of-remote-mysql-server>), I don't have any problem.
But when I execute the same command on the server (mysql -u myuser -p --host=localhost), I got an error ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
The only way to solve this problem is to create another user with a connection from localhost ('myuser'@'localhost')
I never noticed a such problem (on MySQL 5.1 Windows or MySQL 5.0 on Ubuntu 9.
10).
Do you have any idea of how I can access from localhost without duplicating my user ?
Thanks for your help,
Fred