Replies: 0
Hey guys! 🙂 I’ve been using this plugin for ages, never had an issue with it so far.
I have a WordPress site that I want to install on a localhost for some testing and further development. I’ve made an archive of the live site without problems, but I can’t migrate it on my localhost. I’m using WAMP and for my localhost I use port 8080 and for MariaDB I use port 3309. Now the problem is that I can’t pass step 2. I created a new database using phpMyAdmin, but on step 2 for host I put localhost:8080 and I get this error -> “An error occurred while testing the database connection! Please Try Again… Status details: timeout”. If I use only localhost without the port I get instantly fail. This is from the installer-log.txt for localhost without the port 8080:
DATABASE CONNECTION ERROR: Access denied for user ‘root’@’localhost’ (using password: NO)[ERRNO:1045]
This is from the installer-log.txt for localhost:8080:
[PHP ERR][WARN] MSG:mysqli_connect(): MySQL server has gone away [CODE:2|FILE:C:\wamp64\www\wp-site\dup-installer\classes\class.db.php|LINE:48]
[PHP ERR][WARN] MSG:mysqli_connect(): Error while reading greeting packet. PID=6340 [CODE:2|FILE:C:\wamp64\www\wp-site\dup-installer\classes\class.db.php|LINE:48]
[PHP ERR][WARN] MSG:mysqli_connect(): (HY000/2006): MySQL server has gone away [CODE:2|FILE:C:\wamp64\www\wp-site\dup-installer\classes\class.db.php|LINE:48]
DATABASE CONNECTION ERROR: MySQL server has gone away[ERRNO:2006]
The problem is the same no matter if I try to connect to an existing DB or I try to create a new one.
How to fix this problem? I have read the FAQ and the Docs and I still haven’t found a solution. Any help will be greatly appreciated. Thanks! 🙂