Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

User with acces from any host can't login on localhost (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>