• Resolved WPOso

    (@wordpress-oso)


    I downloaded WordPress. Then I went online and created a subdomain (blog.mysite.com). I then went into mysite.com and created a database with a username and password. It gave me the option of “generate password,” so I clicked it and apparently got a second password. I left host set at the default, “localhost.” (I’m using C-Panel.)

    I then renamed the sample config file to wp-config.php and published it online. When I visit blog.mysite.com/wordpress/wp-admin/setup-config.php I get this message:

    “The file ‘wp-config.php’ already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.”

    When I click “installing now,” I get this error message:

    Error establishing a database connection

    But it doesn’t tell me what the error is. I’ve tried it with both passwords, and I’ve changed “localhost” to “localhost:3306” and “3306” (based on server: localhost:3306).

    So how am I supposed to figure out what the database problem is?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WPOso

    (@wordpress-oso)

    Please disregard my post. I fixed the problem by creating a database on a completely different website, then using the username and password I use with my other domains. Thanks.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database Connection Error’ is closed to new replies.