Results 1 to 5 of 5
I'm trying to connect to a database I made on a linux box using mysqladmin from XP.
When I try to login as root I get this error.
Code:
MySQL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-03-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
[SOLVED] mysqladmin connection error
I'm trying to connect to a database I made on a linux box using mysqladmin from XP.
When I try to login as root I get this error.
There is no root password setup. (at least i think there isn't based on this)Code:MySQL Error Number 1045 Access Denied for user 'root' at 'myip' (using password: NO)
I've already ran a GRANT ALL ... command if that makes any difference hereCode:$ mysql -u root Welcome to the MySQL monitor. ... mysql>
Any help would be appreciated
- 07-03-2009 #2Linux User
- Join Date
- May 2008
- Location
- NYC, moved from KS & MO
- Posts
- 251
Not sure how your grant command looks like, but if you want to enable access for user root from <xp_ip>, you would have to execute the following mysql commands on the server after logging in with user root:
Substitute <xp_ip> and <password> with your xp's ip and the password you want.Code:grant all on *.* to 'root'@'<xp_ip>' identified by '<password>'; flush privileges;
- 07-06-2009 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 7
Hi Wsetchell, You might have forgot to give access to IP in that SQL string. try above SQL query if that doesnt work then make sure that port 3306 is open in your firewall.
Good Luck.
- 07-06-2009 #4Linux User
- Join Date
- May 2008
- Location
- NYC, moved from KS & MO
- Posts
- 251
I don't think firewall is the problem here since the reply messagemake sure that port 3306 is open in your firewall
is from mysql server, meaning if you are not connected to the mysql server, you would not have seen that error at all.MySQL Error Number 1045
Access Denied for user 'root' at 'myip' (using password: NO)
- 07-06-2009 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 2




