Error: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 'admin char(15) NOT NULL default '0' ...
复制代码
错误
解决方法:
#centos 7或8下ssh下 文件批量替换 sql安装文件(注意sql文件路径)
sed -ri 's/ {2}([a-z0-9_]+)/ `\1\`/g' install/data/install.sql uc_server/install/uc.sql