The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Application Installation Error: Could not connect to MySQL.

Discussion in 'CloudLinux' started by Nikiniko, May 31, 2016.

  1. Nikiniko

    Nikiniko Member

    Joined:
    Feb 3, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    After cloudlinux help me to fix a selector error,
    all my sites are down and cloudlinux claims that is not their error and to rebuild apache.
    I rebuild apache and still get errors from all sites
    Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.


    Any advice ?
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    120
    Likes Received:
    34
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    My apologies in advance to the forum staff for this link if it is inappropriate.


    You might find this thread from the Joomla forum relevant to your problem:

    - Removed -
     
  3. Nikiniko

    Nikiniko Member

    Joined:
    Feb 3, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    thank you,
    but this cant happen to 4-5 sites the same moment

    This is not an "error". This tells you that your database connection credentials are incorrect. So either your hostname, your username/password/database name are incorrect
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well, that link simply states he should check the credentials for the MySQL user in his application. I don't think we needed that link to say that here.

    Since the Op has not mentioned the app he's having an issue with, that's really all the suggestions that can be made. Check the database credentials in your app configuration file.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Are you sure MySQL is up and running properly?
     
  6. Nikiniko

    Nikiniko Member

    Joined:
    Feb 3, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    tehy helped me fixed it now is ok

    was missing some folders mysql.sock etc
     
    #6 Nikiniko, May 31, 2016
    Last edited by a moderator: May 31, 2016
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Good new then. Thanks for updating the thread.
     
Loading...

Share This Page