python連接MySQL

import pymysql pymysql.install_as_MySQLdb() import MySQLdb conn = MySQLdb.Connection( host = 'localhost', user = 'root', password = 'root', port = 3306, database = 'test', cha
相關文章
相關標籤/搜索