不写 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阅读 208
码哥字节赞 4阅读 1.5k
DBLens赞 5阅读 1.7k
Bytebase赞 3阅读 3.3k
DBLens赞 5阅读 1.7k
vivo互联网技术赞 1阅读 1.2k
风流倜傥的伤痕赞 1阅读 1.1k
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。