Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5540

Error establishing a database connection (MySQL)

$
0
0

I’m getting the EEDC error on my fresh install of wordpress. I’ve tried everything I can think of without success.

I have installed a fresh copy of MySQL Server 8.0.12. Created a database schema, a user for my wordpress site, granted all privileges. I’ve added no tables, I assume the wordpress install will take care of this. it’s hosted at the default location and port for MySQL. I have tested the connection multiple times using MySQL workbench and from command line.

I’ve tried going through the wp-admin/setup-config.php and I have tried modifying the wp-config file myself. I have replaced ‘database_name_here’ by my db schema name, ‘username_here’ by my newly created user, ‘password_here’ by the password. For the DB_HOST, I’ve tried a bunch of things. localhost, localhost with port number, http before, etc.

My wordpress website is hosted locally, in Windows 10, through IIS.

Is there anything I am missing?

Thanks for the help!


Viewing all articles
Browse latest Browse all 5540

Trending Articles