Kernel_Killer
September 5th, 2003, 03:42
Having trouble setting my password with a host. This is what I get:
[code:1:7816280550]
KK@/home/KK> mysqladmin -u root -h fakehost password 'password'
mysqladmin: connect to server at 'fakehost' failed
error: 'Host 'fakehost.fakedomain' is not allowed to connect to this MySQL server'
[/code:1:7816280550]
Now I did change my /etc/hosts file to show 127.0.0.1 as fakehost.fakedomain fakehost. I also tried setting my internal IP to the same host/domain, and still recieved the same error. If I do a command without the host I don't have any trouble, but I need to be able to add the host command. None of the mysqladmin commands produce a different error. Same with telnetting the port. Any idea what I'm doing wrong?
[code:1:7816280550]
KK@/home/KK> mysqladmin -u root -h fakehost password 'password'
mysqladmin: connect to server at 'fakehost' failed
error: 'Host 'fakehost.fakedomain' is not allowed to connect to this MySQL server'
[/code:1:7816280550]
Now I did change my /etc/hosts file to show 127.0.0.1 as fakehost.fakedomain fakehost. I also tried setting my internal IP to the same host/domain, and still recieved the same error. If I do a command without the host I don't have any trouble, but I need to be able to add the host command. None of the mysqladmin commands produce a different error. Same with telnetting the port. Any idea what I'm doing wrong?