« Return to Thread: Problem on creating root password

Re: Problem on creating root password

by satimis :: Rate this Message:

Reply to Author | View in Thread

Hi Maciej,

I found that I made a mistake from the beginning

# mysqladmin -u root password yourrootsqlpassword
leaving out "--" before "password"


Retried as follows;

[root@server ~]# mysqladmin -u root --password mypassword
Enter password:


Typing either "mypassword" or "YES" prompted;
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
* end *

Still failed


satimis

 « Return to Thread: Problem on creating root password