This is an article about how to solve the error i meet in using MySQL
ERROR 1064 (42000) at line 22: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json DEFAULT NULL,
About this error, you can change your database character
mysql> show processlist;
I have run a mysql docker container for a symfony website.
But all of the pages open are very slow, even if loading a blank page.
So i check the blank page speed before mysql start and after mysql stop.
I found that every time there are these database connection during the page loading.
About this error ,you can add following code to solve it.
This prevents MySQL trying to resolve the host name for each thread, bypassing the name server problem.