• hotsauce993

    (@hotsauce993)


    ive read others forums, maybe i missed it. However,i cant find the right credentials to start up wordpress using xampp. ive tried alters wp-config-sample.php with everything. currently mysql is running on port 3307 if that matters.
    username = root
    password =
    database host = localhost
    db name = testen *created on phpmyadmin*
    any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • currently mysql is running on port 3307 if that matters.

    As you’re not using the default MySQL port 3306, you need to specify your custom port in the database host: ie localhost:3307.

    This is the same for HTTP/S: if you’re not running your web server on the default ports 80/443, you need to specify the custom port in the URL: eg https://localhost:8080.

    In addition to @gappiah’s answer: Are you sure your database user has the necessary privileges to connect to the database you created?

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