使用Python来连接MariaDB数据库的模块为Pymysql 该模块的安装方法为(采用清华大学镜像, ... cursor=db.cursor() sql="select * from tablename" cursor.execute(sql) ...
確定! 回上一頁