1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Installation failed

Discussion in 'Plesk 11.x for Linux' started by BoneHunter9, Dec 25, 2012.

  1. BoneHunter9

    BoneHunter9 New Pleskian

    10
     
    Joined:
    Dec 25, 2012
    Messages:
    2
    Likes Received:
    0
    Hello,i want to install plesk on my debian 6.0 root server.Now i runned the installations command and at the final instalation it says to me:


    Trying to define valid mysql credentials... Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
    failed

    I tryed everything i found here,but nothing helps.
    Maybe someone can give me a step by step solution ?

    Greetings and Merry Christmas
    Fabian
     
  2. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    It may be that a root user and password had been defined for MySQL before the Plesk install. If this happens, Plesk can't do anything with databases and you'd get an error like that.

    If there's a root user already defined then remove the password for it. Alternatively, remove all the mysql packages (mysql-server in particular) and re-install them (or let the Plesk installer see that it is missing and install it for you).

    I'm not saying this is definitely the cause and solution - it is just a guess.

    Does any part of the installation log give any other clues? For example is there any indication that the plesk installer had previously succeeded in defining the admin user and set up databases? If that's the case then my guess is wrong.

    Another possibility is..did you define a Plesk password during the install? I don't remember if you get asked or not when you install from the command line. If you are asked and you did, did the password include any % or + symbols? That used to cause problems though I thought that was fixed.

    Also take a look at http://kb.parallels.com/en/1657 (just in case it helps)

    Also note that I'm not sure what state your Plesk install is going to be in at this stage. Removing mysql might make things worse. Maybe you should wait until someone who has come accross this exact problem makes a post?

    Also remember that you can get free support from Parallels for your installation (if you purchased the key from them).
     
  3. BoneHunter9

    BoneHunter9 New Pleskian

    10
     
    Joined:
    Dec 25, 2012
    Messages:
    2
    Likes Received:
    0
    It says to me this:


    Trying to establish test connection... Could not open required defaults file: /root/.my.cnf
    Fatal error in defaults handling. Program aborted

    Maybe it needs that file,but i dont have one,sadly i have no idea what has to be in this file.

    But thanks for try helping

    EDIT:

    http://kb.parallels.com/en/228

    That helped :D
    Now it works fine :)
     
    Last edited: Dec 25, 2012
Loading...