Python 鏈接Mysql數據庫

shell 指令mysql mysql.server start //mysql 本地數據庫開啓 mysql.server stop //關閉 Python 鏈接Mysql數據庫web # beautyDB 爲數據庫名 beautydb 爲表名 conn = MySQLdb.connect(user='root', passwd ='****', db='beautyDB', host='your
相關文章
相關標籤/搜索