You are not logged in.
Pages: 1
Hi all!
When a try to execute:
#mysqladmin -u root password 'roots_password'
I get this error:
mysqladmin:conect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost'
Do i have to configure the /etc/hosts.allow?
How can i do it?
Thaks...
Offline
mysql -uroot -ppassword
looks like your syntax is wrong. i think mysqladmin uses the same syntax as mysql itself.. try mysql and see if that works.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Offline
i have written in hosts.allow
mysqld: ALL : ALLOW
Offline
Access denied for user 'root' @'localhost' (using password: YES)
:? :? :?
Offline
If that's a screenshot of exactly what you typed in, then don't put the word 'password' in there...do this:
$ mysql -u root -p
...and then it will prompt you to put in the correct password for the root MySQL user. Unless of course your password is <code>password</code>.
Offline
It still prompt the same think:
Access denied for user 'root' @'localhost' (using password: YES)
Offline
Pages: 1