ZKX's LAB

运行sql文件到最后错误 在sql文件里执行插入语句出错,但是直接在mysql控制台上执行就没错 怎么解决?

2021-04-05知识2

SQL安装到最后一步提示语法错误 你的安装文件有问题`` 或者系统有问题 上个系统补丁 也可能造成这样的错误``所以 最长的这个人说的 是一个方法 检查安装文件有没有问题`注册表一般没有影响 但是只要安装过。

在sql文件里执行插入语句出错,但是直接在mysql控制台上执行就没错 怎么解决? create database score;use score;create table student(id int not null primary key,name char(20),password char(20),class int not null,chinese int,int,math int);create table teacher(id int not null primary key,name char(20),password char(20),class int not null);create table manager(id int primary key not null auto_increment,name char(20),password char(20));insert into manager(id,name,password)values(1,‘root’,‘123456’);以上是你提供的代码,最后一行insert里面的单引号用的是中文的单引号,确定可以识别吗,我没玩过MySQL不懂这个

解决安装SQL Server试图执行未经授权的操作错误,在安装SQLServer2008的时候经常会一些错误!弄得自己是很烦啊,这不我在安装SQLServer2008的时候就出现了这样的错误!。

#运行sql文件到最后错误

随机阅读

qrcode
访问手机版