Several errors encountered in MySQL and their solutions
1.[Err] 1064 - 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 ''xxx'' at line 1
Solution: Replace all " '' " with " · · " (replace all English single quotes with the dot above the Tab key)
2.[Err] 1100 - Table 'xxx' was not locked with LOCK TABLES
Solution: add UNLOCK TABLES; this code
3.[Err] 1063 - Incorrect column specifier for column 'xxx'
Solution: INT type: max=255, cannot exceed; FLOAT type: must be used in this way: float(m, n), m is the display length, n is the number of decimal places.
PS: Note that there must be a space after the "--" symbol, otherwise an error will be reported.
[If there are other problems in the future, it will be updated and improved]