MySQLMongo
已收录文章:1篇
-
import pymongo import mysql.connector 连接MySQL数据库 mysql_conn = mysql.connector.connect( host="localhost", user="yourusername", password="yourpassword", database="yourdatabase" ) 连接MongoDB数据库 mongo_client = pymongo.MongoClient("mongodb:109 收藏