Changing servers and database ports, problem to load WordPress
-
I have a Bitnami WordPress Local installation (Windows 10). I’m now transitioning to MAMP. Bitnami’s Apache used to work on port 80, and MySQL on 3306. I gave these ports to MAMP and moved Bitnami to 90 and 3320.
Now when I enter “https://localhost:90” in the browser I get to the Bitnami start screen. When I press ‘Access WordPress’ I am redirected to ‘https://localhost:90/wordpress/’ (makes sense). However, it shows there is an error; I get a warning:
“Warning: mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\Bitnami\wordpress-4.8-0\apps\wordpress\htdocs\wp-includes\wp-db.php on line 1538”
The title is: “Error establishing a database connection”.
I assume WordPress is still set to work with the old ports. How can I solve this?
Cheers!
- The topic ‘Changing servers and database ports, problem to load WordPress’ is closed to new replies.