Here's the error I get


Here's the DB login settings I used:


Here's my DB names and users: https://gyazo.com/2e009a5d37e87ba1e094ed0b6c826af6

What I tried so far:

  • Enabled all permissions, assigned them to all dbs, removed the need for passwords and usernames
  • tried setting the host name to local under login information

Background: - to set up XAMPP i had to set mysql porn to 3307 since 3306 was causing issues. I tried to set define( 'DB_HOST', 'localhost:3307' ); in the wp-config-sample.php file. Is there any other place I can set port for wordpress?

  • Please, upload your images to imgur and edit your question to make images visible right on the WPSE site. See Images section on the Markdown Help page.
    – Max Yudin
    Sep 20 '19 at 8:20

the solution was to set the host as localhost:3307 not just localhost.

Like so https://gyazo.com/3aa87d040d9953171da69b196d04f4d1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.