Closed Thread
Results 1 to 6 of 6

Thread: Can't connect to mysql database

  1. #1
    kizer_frame63 is offline x10Hosting Member kizer_frame63 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    6

    Can't connect to mysql database

    Hi
    I'm trying to install joomla or wordpress on freehosting, my domain is canalframe.elementfx.com.
    "Error establishing a database connection", i used automatic install with wordpress.
    i don't know where is the problem, i checked and double checked and put locahost, cpanelusername_databaseusername with good password but its not fonctionnaly.

    Sorry for my english, but can you help me..

    Thank's

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Can't connect to mysql database

    Did you remember to give cpanelusername_databaseusername permissions on cpanelustername_databasename?
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    kizer_frame63 is offline x10Hosting Member kizer_frame63 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    6

    Re: Can't connect to mysql database

    Yes full privileges give to cpanelusername_databaseusername permissions on cpanelusername_databasename.

    Have you an another idea ???

  4. #4
    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 database

    Try adding following ips
    cPanel >> Remote MySQL
    10.33.249.%
    10.33.248.%
    192.168.1.%

    Also,recheck that you have set

    servername = localhost
    username = cpanelusrname_databaseusrname
    databasename = cpanelusrname_database
    password = password for cpanelusrname_databaseusrname not cpanelusrname

  5. #5
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Can't connect to mysql database

    Quote Originally Posted by MaestroFX1 View Post
    Try adding following ips
    cPanel >> Remote MySQL
    10.33.249.%
    10.33.248.%
    192.168.1.%
    This may work, but it's a band-aid kind of fix. The underlying problem would require a staff member to fix. You're close to the point where you can escalate tickets, but until then you can private message me if you think a ticket should be escalated.

    kizer_frame63 if you want to apply the solution provided, you are welcome to. If that doesn't work or you would rather have a staff member look at this for you, please reply back and I will escalate this ticket.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  6. #6
    kizer_frame63 is offline x10Hosting Member kizer_frame63 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    6

    Re: Can't connect to mysql database

    OK thank you so much guys for your help.

    ITS WORKING i'm happy, i can work now.

    Thank you, thank you.

Closed Thread

Similar Threads

  1. Replies: 2
    Last Post: 08-16-2010, 03:21 AM
  2. Replies: 2
    Last Post: 07-09-2010, 09:39 AM
  3. Replies: 3
    Last Post: 06-11-2010, 10:38 PM
  4. Replies: 3
    Last Post: 05-22-2010, 07:04 AM
  5. Replies: 4
    Last Post: 04-18-2010, 12:50 PM

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