1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Can't connect to mySQL at SSH but on Plesk / phpMyAdmin I can

Discussion in 'Plesk for Linux - 8.x and Older' started by LucasVN, Mar 15, 2005.

  1. LucasVN

    LucasVN Guest


    I am using Plesk 7.5 under FreeBSD 5.3. Mysql in Plesk is working, I can even go to phpMyadmin, and I know Plesk will also not work if the mysql server is down.

    I tried connecting on ssh command line, using even to test it with the command mysqladmin version and I get this error:

    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'

    I even tried with mysqladmin -u root -p="pswd" version but the same error..

    What do you think is the prolem?

  2. luksa

    luksa Guest

    -su-2.05b# /usr/local/psa/mysql/bin/mysql -u admin -p
    Enter password: