SQLSTATE[HY000]: General error: 1114 The table '/home/mysql/data3007/tmp/#sq

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQLSTATE[HY000]: General error: 1114 The table '/home/mysql/data3007/tmp/#sq相关的知识,希望对你有一定的参考价值。

参考技术A

当接口或查询语句报错: SQLSTATE[HY000]: General error: 1114 The table \'/home/mysql/data3007/tmp/#sql_6e09_4\' is full

首先查看磁盘空间是否已经满了

解决mysql的错误 CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1300 Inva

 

报错:

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1300 Invalid utf8 character string: ‘\xBF\xA5‘

解决方法:

$currentPrice = $currentPrice  * 1;  

=> $currentPrice 原本是字符串的 数字,导致插入数据库失败。

=》所以只要改成 数字 即可。

=》字符串的 数字 ,乘以 1 就会变成 数字类型。


但是有报告了一个Php的错误:

Internal Server Error

Division by zero

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

 先打开错误信息验证:
 
ini_set(‘display_errors‘,‘on‘);
error_reporting(E_ALL);



 















以上是关于SQLSTATE[HY000]: General error: 1114 The table '/home/mysql/data3007/tmp/#sq的主要内容,如果未能解决你的问题,请参考以下文章

SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are activ

SQLSTATE[HY000]: General error: 1114 The table '/home/mysql/data3007/tmp/#sq

解决mysql的错误 CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1300 Inva

解决SQLSTATE[HY000]: General error: 2006 MySQL server has gone away问题的方法

SQLSTATE[HY000] [1049] 未知数据库 'laravel'

SQLSTATE[HY000] [2002] 连接被拒绝 |