Debian + MySQL = Failed to login

Discussion in 'Server Operation' started by YamiHoshi, Jul 30, 2010.

  1. YamiHoshi

    YamiHoshi New Member

    Solved: Debian + MySQL = Failed to login

    On every VPS (installation), when I install a Debian server, it never let me to connect to MySQL.
    [[email protected] ~]#mysql -p
    Enter password: 
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    [[email protected] ~]#
    Password is right, I know that over 9000%.
    I reseted it over a billion times in the past, but still no success.

    Could someone now answer this question?
    Looks like everyone ignored my previous 2 questions.

    Found out that Debian version of MySQL doesn't ship with the user "root" by default.
    Fixed that, and it's working.
    Last edited: Jul 30, 2010

Share This Page