2019独角兽企业重金招聘Python工程师标准>>>
1292错误
添加数据 时 日期 书写 '2010-01-03'
加上单引号。否则MYSQL会把它计算成数字了。
1064错误
原因使用了mysql保留字
如表名 user
使用时 用 `user`
安装mysql Install/Remove of the Service Denied!错误的解决办法
在windos 的cmd下安装mysql
在mysql的bin目录下面执行: mysqld --install
报错:
信息如下:
Install/Remove of the Service Denied
解决办法:
打开cmd.exe程序的时候选择“用管理员身份打开”。