You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio

下载 MySQL 免安装(zip)版,从 5.7 版本以后,不再含有 data 目录,没有 data 目录也就是没有默认数据库,需要用户手动创建。
1、用管理员身份打开cmd
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio
2、在MySQL安装目录的 bin 目录下执行命令:mysqld --initialize --console
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio
data安装成功
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio

About Me
QQ 群:1094019526 tg群:群里有
联系我请加 QQ 好友 (1362449059),注明添加缘由
文章内容来源于TOM的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解
版权所有,欢迎分享本文,转载请保留出处

上一篇:1064 - You have an error in your SQL syntax;


下一篇:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version