Error establishing a database connection
-
I have an existing MySQL 8 docker container at localhost:3308 which is working.
I just pulled the latest WordPress docker image and ran it with
docker run --name some-wordpress -p 8080:80 -d wordpresshttp://localhost:8080/wp-admin/setup-config.php displays correctly bit will not connect to the MySql instance. The error page gives no diagnostic info so I can’t tell what specifically isn’t working. Just “Error establishing a database connection”
I set the following:
Database Name: wordpress (I created a schema called wordpress in MySql assuming “Database” = “Schema”)
Username: root
Password: password
Database host: localhost:3308
Table prefix: wp_The user has full access to the wordpress schema.
What am I missing/doing wrong?
The topic ‘Error establishing a database connection’ is closed to new replies.