Hi All,
I am new to MySQL. I have installed MySQL 4.1 it is installed in remote server . The problem is that when I try to login with MySQl its gives following Error:
Error No. 1130 localhost is not allowed to connect to this MySQL Server.
Let me inform you more:
1.. I was try to run the following command
mysql -u root --password=Mypwd -h localhost dbName < dumpFile_bk
but it gives me error that
" root does not have the enough privileges to access the data base.
So I have give all the privileges to root user but still same error
then I have checked in user table of "mysql" default database. there are two users with same name "root" but with different host name one has "localhost" and other has "%".
So I have remove the second "root" user who has the host name "%".
2. But then When I have disconnect and relogin in MySQL then It gives me the error:
Error No. 1130 localhost is not allowed to connect to this MySQL Server.
please help me.
Thank you in advance.
I am new to MySQL. I have installed MySQL 4.1 it is installed in remote server . The problem is that when I try to login with MySQl its gives following Error:
Error No. 1130 localhost is not allowed to connect to this MySQL Server.
Let me inform you more:
1.. I was try to run the following command
mysql -u root --password=Mypwd -h localhost dbName < dumpFile_bk
but it gives me error that
" root does not have the enough privileges to access the data base.
So I have give all the privileges to root user but still same error
then I have checked in user table of "mysql" default database. there are two users with same name "root" but with different host name one has "localhost" and other has "%".
So I have remove the second "root" user who has the host name "%".
2. But then When I have disconnect and relogin in MySQL then It gives me the error:
Error No. 1130 localhost is not allowed to connect to this MySQL Server.
please help me.
Thank you in advance.