Support » Installing WordPress » Error establishing a database connection (install.php)

  • Resolved USoul


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thanks a lot for the help!

    I got it 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error establishing a database connection (install.php)’ is closed to new replies.