"Mike S" <[EMAIL PROTECTED]> wrote: > I had an account "mike" to mysql. But somehow I change the password. So now > I have just one access to the system as root. > Trying to login to mysql as root with password and without password no > success. Root password is: 123456. > > What I'm doing wrong? I cannot connect to MYSQL as root. > > [EMAIL PROTECTED] init.d]# mysql -h localhost -u root -p > Enter password: > ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
Check that you type password correctly. If it doesn't help you can reset root password as described at: http://www.mysql.com/doc/en/Resetting_permissions.html > [EMAIL PROTECTED] init.d]# mysql -h localhost -u root > ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) > [EMAIL PROTECTED] init.d]# -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]