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 the mySQL server

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

  1. rsdhall

    rsdhall Registered

    Joined:
    Aug 29, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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,052
    Likes Received:
    2
    Trophy Points:
    38
    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.
     
  3. HostProud

    HostProud Registered

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

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

Share This Page