View Full Version : [ubuntu] MySQL Error #1045

October 12th, 2010, 04:30 AM
Okay, here's the situation:

I recently installed LAMP using Tasksel. It said it couldn't set a root password (this was done using sudo), so I decided to install PhpMyAdmin and do it that way. It said "Login without a password is forbidden by configuration (see AllowNoPassword)." I Googled how to do this through the command line, and it didn't return anything (prompted again). I tried logging in with the new password and I'm getting error #1045 (login failure).