我的问题集(方便自己查阅)

一、Mock模块不起作用问题

https://blog.csdn.net/qq_19446965/article/details/109018594

二、MySQL Shell 使用报错 SyntaxError: Unexpected identifier

https://blog.csdn.net/kangweijian/article/details/115466541

https://blog.csdn.net/wanghuan1020/article/details/116430706?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_baidulandingword~default-1-116430706-blog-115466541.235v43pc_blog_bottom_relevance_base7&spm=1001.2101.3001.4242.2&utm_relevant_index=4

首先需要连接mysql \connect root@localhost
然后可以输入命令 \sql show databases;

三、python访问Mysql数据库出错

error: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/20/3o7r) !

self.engine = create_engine(sql, pool_size=40, max_overflow=10, echo=False)
主要就是设置pool_size和max_overflow

posted @ 2024-03-30 15:15  阿慢2010  阅读(12)  评论(0)    收藏  举报