`
nasizq
  • 浏览: 43776 次
  • 性别: Icon_minigender_1
  • 来自: 叶柏寿
社区版块
存档分类
最新评论

MYSQL常见出错代码 mysql error number

    博客分类:
  • DB
阅读更多
1016错误:文件无法打开,使用后台修复或者使用phpmyadmin进行修复。
1044错误:数据库用户权限不足,请联系空间商解决
1045错误:数据库服务器/数据库用户名/数据库名/数据库密码错误,请联系空间商检查帐户。
1054错误:程序文件跟数据库有冲突,请使用正确的程序文件上传上去覆盖。
1146错误:数据表缺失,请恢复备份数据.
2002错误:服务器端口不对,请咨询空间商正确的端口。
2003错误:mysql服务没有启动,请启动该服务
1005:创建表失败
1006:创建数据库失败
1007:数据库已存在,创建数据库失败
1008:数据库不存在,删除数据库失败
1009:不能删除数据库文件导致删除数据库失败
1010:不能删除数据目录导致删除数据库失败
1011:删除数据库文件失败
1012:不能读取系统表中的记录
1020:记录已被其他用户修改
1021:硬盘剩余空间不足,请加大硬盘可用空间
1022:关键字重复,更改记录失败
1023:关闭时发生错误
1024:读文件错误
1025:更改名字时发生错误
1026:写文件错误
1032:记录不存在
1036:数据表是只读的,不能对它进行修改
1037:系统内存不足,请重启数据库或重启服务器
1038:用于排序的内存不足,请增大排序缓冲区
1040:已到达数据库的最大连接数,请加大数据库可用连接数
1041:系统内存不足
1042:无效的主机名
1043:无效连接
1044:当前用户没有访问数据库的权限
1045:不能连接数据库,用户名或密码错误
1048:字段不能为空
1049:数据库不存在
1050:数据表已存在
1051:数据表不存在
1054:字段不存在
1065:无效的SQL语句,SQL语句为空
1081:不能建立Socket连接
1114:数据表已满,不能容纳任何记录
1116:打开的数据表太多
1129:数据库出现异常,请重启数据库
1130:连接数据库失败,没有连接数据库的权限
分享到:
评论

相关推荐

    InnoDB Operating system error number 9 Bad file descriptor

    InnoDB Operating system error number 9. [MDEV-9749] InnoDB receives 'Bad file descriptor' error, possibly related to feedback plugin Lost connection to MySQL server at 'handshake- reading initial ...

    mysql5.7.24 dll库文件

    printf("%s\n", mysql_error(&mysql;)); printf("connect failed\n"); return 1; } // query char* tbname = "student"; sprintf(strSQL, "select * from %s", tbname); if (mysql_real_query(&mysql;, ...

    解决 MySQL 3534 Error

    目录MySQL 3534 Error1. 问题2. 解决步骤3....-2017-11-07T12:25:58 [ERROR] InnoDB: Operating system error number 87 in a file operation -2017-11-07T12:25:58 [ERROR] InnoDB: File .\ib_logfile101

    qt连接MYSQL数据库总结

    QT连接数据库成功,带有数据的测试代码,已经运行成功!

    MySQL删除表时I/O错误的原因分析与解决

    跑完后察看日志发现一个问题,MySQL服务的错误日志中出现多条类似以下信息的报错: [ERROR] InnoDB: Trying to do I/O to a tablespace which does not exist. I/O type: read, page: [page id: space=32, page ...

    [php]mysql数据库操作——DB类

    【作 用】: mysql数据库操作类 【作 者】: Riyan 【版 本】: version 2.0 【修改日期】: 2010/02/11 ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ ※※※※※※※※ **/ class ...

    MySQL:The used SELECT statements have a different number of columns

    执行SQL报错:The used SELECT statements have a different number of columns 以上翻译:使用的SELECT语句具有不同数量的列 原因:我们在 SQL 语句中使用了 UNION 连接两张表时,查询字段数量不一致导致 # 效果...

    mysql源码安装

    注:如果不能远程连接,出现错误mysql error number 1130,则加入下面语句试试: mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '******' WITH GRANT OPTION;

    mysql 有关“InnoDB Error ib_logfile0 of different size”错误

    1,查看Mysqld(/var/log/mysqld.log)日志,发现以下错误:InnoDB: Error: log file /usr/local/mysql/data/ib_logfile0 is of different size 05242880 bytesInnoDB: than specified in the .cnf file 0 104857600...

    MySQL实例crash的案例详细分析

    我们生产环境有一组集群的多台MySQL服务器(MySQL 5.6.21),不定期的会crash,但error log中只记录了重启信息,未记录crash时的堆栈: mysqld_safe Number of processes running now: 0 mysqld_safe mysqld ...

    BBS(php mysql)完整版(二)

    $result=mysql_query($sql)or die(mysql_error()); $row=mysql_fetch_array($result); $number=++$row[number]; $sql=update $table set number=’$number’ where id=’$id’; mysql_query($sql)or die(mysql_...

    ERROR 1222 (21000): The used SELECT statements have a different number of columns

    mysql 提示SQL-ERROR summary different number of columns

    unidac64src 6.4.15

    Bug with processing parameter name when a name begins from a number is fixed MySQL data provider Bug with processing TIMESTAMP and DATETIME fields is fixed Bug with loading data from a pipe is fixed ...

    PHP实现无限极分类图文教程

    复制代码 代码如下:/** * @author koma * @todo PHP无限极分类 */ $cn = mysql_connect(‘localhost’, ‘root’, ”) or die(mysql_error()); mysql_select_db(‘t’, $cn) or die(mysql_error()); mysql_query(...

    解决python 执行sql语句时所传参数含有单引号的问题

    在编写自己的程序时,需要实现将数据导入数据库,并且是带参数的传递。 执行语句如下: sql_str = INSERT INTO teacher(t_name, t_...ProgrammingError: (1064, “You have an error in your SQL syntax; check the m

    node-error-ducks:Duck 来自第三方模块的打字错误

    错误鸭子 国外模块的通用鸭子类型 将错误映射到以下错误: 配置不当 临时错误(重试应该会... [ { "module": "requests", "stack": { "file": "some.js", "lineNumber": 15 }, "error": { "message": "Hello Dude",

    php.ini-development

    error_reporting ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; html_errors ; Default Value: On ; ...

    PHP基础教程 是一个比较有价值的PHP新手教程!

    在许多人的无私奉献下以及这种语言本身的源代码自由性质,它演变成为一种特点丰富的语言,而且现在还在成长中。 PHP虽然很容易学习,但是速度上比mod_perl(植入web服务器的perl模块)慢。现在有了可以与mod_perl...

    AJAX and PHP.pdf

    very young, and we'll witness a number of changes before these technologies will be properly used to the best benefit of the end users. AJAX isn't, of course, the answer to all the Web's problems, as...

Global site tag (gtag.js) - Google Analytics