Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL server has gone away #24

Closed
SimplifyAll opened this issue Feb 11, 2020 · 5 comments
Closed

MySQL server has gone away #24

SimplifyAll opened this issue Feb 11, 2020 · 5 comments

Comments

@SimplifyAll
Copy link

SimplifyAll commented Feb 11, 2020

Hi!
Thanks for sharing your work — it's a truly amazing, and well-designed template
but also quite a complex one.
Unfortunately, I've run into some trouble during the setup...
I'm running Ubuntu. I've done everything from the Readme.md, but finally got:

Warning: Packets out of order. Expected 0 received 1. Packet size=69 in
/var/www/html/web/wp/wp-includes/wp-db.php on line 1633
Warning: mysqli_real_connect(): MySQL server has gone away in 
/var/www/html/web/wp/wp-includes/wp-db.php on line 1633
Warning:  mysqli_real_connect(): Error while reading greeting packet. PID=6 in 
/var/www/html/web/wp/wp-includes/wp-db.php on line 1633
Warning:  mysqli_real_connect(): (HY000/2006): MySQL server has gone away in 
/var/www/html/web/wp/wp-includes/wp-db.php on line 1633

MySQL server has gone away

phpMyAdmin is reachable, but when trying to log in, the same errors pop up.
Would you mind helping me to find out what's going on?

@urre
Copy link
Owner

urre commented Feb 25, 2020

@SimplifyAll Hey! I've never seen this happen in this setup. I'm using macOS. Maybe we need to tweak the mysql settings file for Linux?

@urre
Copy link
Owner

urre commented Mar 10, 2020

@SimplifyAll did you test more on Linux?

@SimplifyAll
Copy link
Author

Hi!
Firstly, thanks for your response @urre.
Unfortunately, I didn't find out what's going on but found another way to run WP locally. So maybe in the future, I'll try to solve this issue.

@trenccan777
Copy link

I had a similar problem using Windows 10 and virtual machine. This bedrock setup is running good for me.

@urre urre closed this as completed Jan 3, 2021
@wavehamza
Copy link

Hello @urre I'm facing the same issue on MAC as well so weird !!

After using Urre repo for 3 or 4 times now showing me the erreur.

Warning: Packets out of order. Expected 0 received 1. Packet size=69 in /var/www/html/web/wp/wp-includes/wp-db.php on line 1653 Warning: mysqli_real_connect(): Error while reading greeting packet. PID=8 in /var/www/html/web/wp/wp-includes/wp-db.php on line 1653 Warning: mysqli_real_connect(): (HY000/2006): MySQL server has gone away in /var/www/html/web/wp/wp-includes/wp-db.php on line 1653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants