pymysql.err.InternalError: (1049, "Unknown database 'test'")
解决方法:
在mysql中创建名称为 'test’的数据库
mysql>create database test character set utf8;
再次运行,可行
C:Anaconda3python.exe D:/AI/三酷猫源代码/第12章/MySQLLink.py
T_fish表可以使用!
Process finished with exit code 0
最后
以上就是轻松哑铃最近收集整理的关于pymysql.err.InternalError-(1049-Unknown database -test-)报错的全部内容,更多相关pymysql.err.InternalError-(1049-Unknown内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复