From a newbie
I want to migrate my flarum to another server, after finishing all the configures, the error occurs as following:
Flarum encountered a boot error (Doctrine\DBAL\Driver\PDOException)*
SQLSTATE[HY000] [2006] MySQL server has gone away*
thrown in /data/wwwroot/103.45.119.113/forum/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 31
what I have done are listed below:
- copy the
flarum/ to /data/wwwroot/mywebsite/ on my new server;
- copy the database(only one, my case is
mariadb/seducation/) of flarum to mariadb/ on my new server;
- accomplish all the configures(including
vhost/*.conf, flarum/config.php);
- I have also reloaded
nginx and mysql.
So what's the problem? And what should I do?
Another question is how can I migrate my flarum to another server efficiently?
Waiting for reply, thanks.