Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Could not connect to the mySQL server

Discussion in 'Database Discussion' started by rsdhall, Aug 29, 2007.

  1. rsdhall

    rsdhall Registered

    Joined:
    Aug 29, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    what is my SQL Host how can i know that?
    please help
    I try to SQL Host this it is
    =========================
    $Vars['sql_host'] = "MySql.websys.co.in";
    ===============
    url : http://starofcity.com/directory2/admin.php
    but it is fail
    Error on page is display:
    Links Content Management System
    Error Type : SQL Error
    Time :Wednesday 29th of August 2007 09:15:46 AM
    Query : No query!
    SQL Error: Could not connect to the mySQL server
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Sql host is normally 'localhost' as the database and the script is on the same server. If still you have problems better check with your hosting company or hire a developer as it's difficult to say where the problem is without looking in to it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HostProud

    HostProud Registered

    Joined:
    Aug 14, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello

    Is your mySQL daemon running? Are you on a dedicated or shared server?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice