Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't Create A Database

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

    Can't Create A Database

    I can't install wordpress! It will not let me add the database information (i.e. username, password, database name, & password). I've put the exact information in the database form and then press the button to accept the info. But, once I push the button it says..."Error establishing a database connection." It shouldn't be this difficult to add wordpress. I need someone's help to solv this asap! Thanks in advance

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Can't Create A Database

    On a manual install you have to create the database and user ahead of time using cPanel --> MySQL Databases , remembering to add the user to the database with ALL PRIVILEGES checked.
    Nothing is always absolutely so.

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

    Re: Can't Create A Database

    I've tried everything. No luck. Don't understand?? It shouldn't be difficult at all. So, I still can't get it to install. Help please!!! Thanks in advance.

  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 Create A Database

    What is the error code ?

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Can't Create A Database

    1. Is it a manual install?
    2. Did you create the database and user via cPanel?
    Nothing is always absolutely so.

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

    Re: Can't Create A Database

    I've never had this problem before.

    I've tried a manual installation and it just goes to a blank white page. Following exactly wp's instruction in doing so. And yes, I've given ALL permissions from the beginning. I've also used the password created with the database and the main account password. And still no success. Strange! Never happened to me in the last 7 years that I've been installing wordpress and scripts.

  7. #7
    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 Create A Database

    Have you tried Softaculous or Fantastico for auto installation ?

  8. #8
    ryanomearasdomainname98 is offline x10Hosting Member ryanomearasdomainname98 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    6

    Re: Can't Create A Database

    No...but now i will try that. Forgot about that. Thanks

  9. #9
    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 Create A Database

    Hey never give up!

    Try this (anything.php)
    --------------
    <?php

    echo "Bangbang-";

    $a = "localhost"; //srv name
    $b = "cpanelusrname_dbusrname"; //cpanelusrname_dbusrname
    $c = "xxx"; ////cpanelusrname_dbusrname password
    $d = "cpanelusrname_dbname";
    $e = "table_name";



    $f = mysql_connect ( $a , $b , $c );
    if (!$f) {
    echo "Auth Fail-";
    }
    else
    {
    echo "Auth Pass-";
    };


    $g = mysql_select_db ( $e , $f );
    if (!$g) {
    echo "DB Con Fail-";
    }
    else
    {
    echo "DB Con Pass-";
    };

    ?>
    ---------
    Post your result

  10. #10
    ryanomearasdomainname98 is offline x10Hosting Member ryanomearasdomainname98 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    6

    Exclamation Re: Can't Create A Database

    Well, I just came back from a break. And I used the fantastico version. But, when it was finished installing...It still couldn't connect to the database. I checked to see if everything was created properly and it was. I down to my last strand of hair trying to figure out what's wrong with this?

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Can not create My Sql Database
    By newspep in forum Free Hosting
    Replies: 1
    Last Post: 10-08-2009, 03:42 AM
  2. cannot create a database
    By legacyms in forum Free Hosting
    Replies: 3
    Last Post: 07-16-2008, 02:06 PM
  3. cant create a database.
    By newsite in forum Free Hosting
    Replies: 1
    Last Post: 05-26-2008, 11:48 AM
  4. I cannot create new database. HELP.
    By sonu27 in forum Free Hosting
    Replies: 1
    Last Post: 01-02-2008, 06:06 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