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.

Could not connect to database. please check your connection parameters

Discussion in 'General Discussion' started by ausegroup, Dec 7, 2009.

  1. ausegroup

    ausegroup Registered

    Joined:
    Dec 7, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    While trying to use joomlapack kickstart to move my file from localhost to live site I got to the DB restore point and seem to be stuck on this error:

    Could not connect to database. please check your connection parameters

    Anybody able to help me on this:confused:
     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    You do not have to use the host name as local host you will have to use the host name as your server name or you can also get the information on your cPanel -->MySQL.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If the database and script ("Joomla") are already located on the server, it should be OK to use a MySQL database server hostname of "localhost" -- this is valid use when pointing to the same "local" server that hosts both the database and the script.

    If by "localhost" it was intended to refer to a local system and not yet on the server that hosts the live site, then when provisioning the new or custom script install please ensure to create a database and database user via cPanel (assuming they do not yet exist), using either of the following two features:
    cPanel: Main >> Databases >> MySQL® Databases
    cPanel: Main >> Databases >> MySQL® Database Wizard

    For additional reference, here is our documentation for the above features in cPanel: cPanel Databases
     
Loading...

Share This Page