会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无渊
临渊羡鱼,不如退而织网
博客园
首页
新随笔
联系
订阅
管理
2020年12月8日
python 链接数据库时报错 TypeError: %d format: a number is required, not str 是因为端口号写成字符串格式的了
摘要: python 链接数据库时报错 TypeError: %d format: a number is required, not str 是因为端口写成字符串格式的了 报错的形式 写成这样了 解决办法: 很简单就是把port=3306, 再次运行就不会报错了
阅读全文
posted @ 2020-12-08 00:33 无渊
阅读(1421)
评论(0)
推荐(0)
公告
返回顶端