- Mac OS 下MySQL启动或开机自动运行失败
错误信息:Warning:The /usr/local/mysql/data directory is not owned by the ‘mysql’ or ‘_mysql’
错误原因:某种情况下导致/usr/local/mysql/data的宿主发生了改变
解决方法:运行“sudo chown -R mysql /usr/local/mysql/data”命令即可 - 执行sql语句(包含order表)失败
错误信息:[42000][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 ‘order.,user., orderDetail.orderDetail_id,orderDetail.order_id,orderDetail.it’ at line 1
错误原因:mysql不能使用order作为表的名称
1.db
猜你喜欢
转载自blog.csdn.net/u010286027/article/details/84147155
今日推荐
周排行