Problem with illuminate on Droplet

February 7, 2018 398 views
PHP Frameworks Ubuntu 16.04

Then I try to migrate artisan, I have a message MySQL server has gone away and "in connector.php in line 68" it's lumen db file.

Line: "return new PDO($dsn, $username, $password, $options);"

1 Answer

The most common reason for this error is if your MySQL server crashed or was shut down. You can restart it with:

service mysql restart

and review it's log files in /var/log/mysql to see why the service crashed if that was the case.

Have another answer? Share your knowledge.