Wayneinnz
Wayneinnz

Reputation: 11

create mysql database connect to server error

when I type: mysqladmin -u root -p create music_library_development then enter my install password then enter, it gives me this error:

connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Upvotes: 0

Views: 114

Answers (1)

Vivien Barousse
Vivien Barousse

Reputation: 20875

Your password to connect to the database with the root login is wrong. If your root account doesn't have a password, remove the -p option. If it has one, type the correct password when prompted.

Upvotes: 2

Related Questions