[resolved] Error establishing a database connection (install.php) (3 posts)

  1. USoul
    Posted 9 years ago #

    So I've followed the instructions in the Read Me file and changed the information it told me to change for the file wp-config.php.. but I am still getting an "Error establishing a database connection"

    For the database part, do I have to go to my CPanel on my website to create a new SQL database first?

    And also with this part:
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp'; // Only numbers, letters, and underscores please!

    Do I need to create a database with the following too?

  2. newflesh
    Posted 9 years ago #

    Yes, if the database you specify in the config doesn't exist, then you have to create it. But you don't have to do anything for the prefix bit, that only defines what WordPress calls the tables it creates in the database when you run the installer.

  3. USoul
    Posted 9 years ago #

    Thanks a lot for the help!

    I got it :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.