Hi all, just started mysql up for the 1st time, i saw this:
Code:
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h Barad-Dur password 'new-password'
The 1st command worked fine but when doing the 2nd one i got:
Code:
/usr/bin/mysqladmin: connect to server at 'Barad-Dur' failed
error: 'Lost connection to MySQL server during query'
Any ideas what im doing wrong? Or is the 1st command sufficient?
Any help appreciated.