Hi @codeslayer2010,
I had exactly the same issue as you’ve had.
(Error establishing a database connection)
I resolved this issue with simple port addition in wp-config.php file.
/** MySQL hostname */
//define( 'DB_HOST', '127.0.0.1' );
define( 'DB_HOST', '127.0.0.1:3307' );
Did it help to you?
-
This reply was modified 4 years, 3 months ago by luckybaky. Reason: displayed html tags