Mysql on Ubuntu 10.04 LTS - access denied for user at localhost

Andrew andy.allen at virgin.net
Thu Mar 7 18:52:16 UTC 2013


On Wed, 2013-03-06 at 19:08 -0500, Erick Ocrospoma Lazo wrote:
> You could try doing:
> 
> $> mysqladmin -u root password 'newpassword'
> 
> Or, doing this. 
> 
> http://www.cyberciti.biz/tips/recover-mysql-root-password.html
> 
> Hope this help.
> 
Thanks for the really helpful replies - the above link was very useful,
except that ubuntu prefers "sudo service mysql stop" to
"/etc/init.d/mysql stop". Anyway problem solved and I can now access
mysql.

Andy





More information about the ubuntu-users mailing list