Closed Thread
Results 1 to 2 of 2

Thread: Can't connect to mysql

  1. #1
    inbox60 is offline x10Hosting Member inbox60 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    1

    Can't connect to mysql

    Hello,

    I'm trying to connect to mysql, but i'm stuck with different problems. First of all i can't get my hands on the right mysql host. It's nowhere to be found on the conf mails and cpanel pages.

    So i've tried :

    "localhost" : doesn't work at all, sql error can't connect to ....
    'mysql.x10hosting.com' : doesn't work, sql error connection lost after executing ....
    'starka.x10hostiing.com : doesn't work access denied for user ....


    so i'm stuck here. What is the right hostname to use ?


    my website: http://mynews.x10.mx


    thks for your help.

  2. #2
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: Can't connect to mysql

    Hello!

    Please check:
    ------------------------------
    servername = localhost
    username = cpanelusrname_databaseusrname
    databasename = cpanelusrname_database
    password = password for cpanelusrname_databaseusrname not cpanelusrname

    databasename and username should be linked with the required privileges set.
    ------------------------------

    Currently all I can see is a php parsing error not a mysql/php connect error.

Closed Thread

Similar Threads

  1. Replies: 1
    Last Post: 10-15-2010, 01:46 PM
  2. Replies: 2
    Last Post: 10-14-2010, 01:50 PM
  3. Replies: 2
    Last Post: 10-14-2010, 10:49 AM
  4. Replies: 2
    Last Post: 12-17-2007, 03:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers