zqifa的博客

我不管,反正我最萌~

当前分类:数据库
thinkphp5开启sql日志记录

thinkphp5开启sql日志记录的方法

阅读全文

laravel框架批量插入数据的方法

laravel框架批量插入数据的方法,代码如下

阅读全文

php报错SQLSTATE[HY000] [1203] User xxx already has more than 'max_user_connections' active connections问题解决

php连接mysql报错信息:[错误代码]SQLSTATE[HY000] [1203] User sdm819148356 already has more than 'max_user_connections' active connections

阅读全文

django设置mysql编码为utf8mb4

django+mysql项目中,需要设置mysql编码为utf8mb4编码。在settings.py中设置databases配置

阅读全文

django设置默认建表引擎为innodb

django设置默认建表引擎为innodb的方法 方法1:可通过修改mysql的设置 方法2:设置django项目的setting.py配置文件里面的mysql相关的设置

阅读全文

python3 django切换mysql数据后报错

示例代码:import MySQLdb as Database 报错信息:ModuleNotFoundError: No module named ‘MySQLdb’

阅读全文

django配置mysql数据库

django配置数据库的方法 方法1:在settings.py文件中添加数据库配置信息

阅读全文

golang gorm报错[error] failed to initialize database, got error commands out of sync. Did you run multiple statements at once?问题解决

golang中使用gorm连接mysql数据库报错问题解决。报错信息:[error] failed to initialize database, got error commands out of sync. Did you run multiple statements at once?

阅读全文

mysql报错Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column问题解决

报错信息:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'web_db.articles_tag.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

阅读全文

mysql报错Expression #2 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column问题解决

报错信息:Expression #2 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'web_db.articles_tag.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

阅读全文

公告

昵称:zqifa

站龄: 3年10个月

博客持续完善ing,敬请期待...

打滚求打赏(๑ ̄ ̫  ̄๑)

此处弱弱求打赏~~万一有好心人呢~~

支付宝酱

支付宝赞助

微信酱

微信赞助

随笔分类

php(110)

linux(63)

python(44)

web前端(39)

js(35)

服务器(33)

mysql(30)

html(24)

docker(23)

windows(22)

centos(22)

django(20)

前端设计(18)

git(16)

常用软件(14)

数据库(14)

算法(14)

字符编码(13)

编程进阶(13)

笔记(12)

更多

我的标签

php(106)

linux(47)

python(45)

js(34)

mysql(30)

centos(28)

web前端(23)

docker(22)

windows(22)

django(20)

更多

相册

友情链接

Copyright © zqifa 联系方式:z___qf@163.com