不写 database 参数就好了
import pymysql.cursors
# Connect to the database
connection = pymysql.connect(host='192.168.31.xxx',
user='root',
password='xxx',
)
不写 database 参数就好了
import pymysql.cursors
# Connect to the database
connection = pymysql.connect(host='192.168.31.xxx',
user='root',
password='xxx',
)
universe_king阅读 220
码哥字节赞 4阅读 1.3k
悖论BeilunYang赞 4阅读 1.7k评论 4
DBLens赞 5阅读 1.3k
Bytebase赞 3阅读 1.8k
DBLens赞 5阅读 1.4k
vivo互联网技术赞 1阅读 906
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。