MySQL on Ubuntu Server

hascet

Fully Optimized
Messages
3,218
I'm trying to setup a MySQL database on a Ubuntu LAMP server and when I try to change the root password with this:$ mysqladmin -u root password MyPasswordHere, I get this error message:
sean@ubuntuwebserver:~$ mysqladmin -u root password master:pass1
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
 
I don't think there is a root password by default on an install of mySQL, so you should be able to login to the database and change the password from there.
 
just remember this if you have anymore problems just restart apache. and also dont feel bad I am still a newbie on ubuntu/apache 2.
 
Back
Top Bottom