# MySQL数据库表结构复制框架 **Repository Path**: geduo777/MySQL-copy ## Basic Information - **Project Name**: MySQL数据库表结构复制框架 - **Description**: 本脚本为MySQL数据库table搬运脚本可直接套用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-06-23 - **Last Updated**: 2022-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MySQL数据库表结构复制框架 #### 介绍 本脚本为MySQL数据库table搬运脚本可直接套用 #### 软件架构 技术栈 :Python + PyMysql #### 使用说明 1. 将本脚本放置到本地运行环境中 2. 填写要复制数据库的信息替换即可 ```python # 连接数据库1 db_1 = pymysql.connect(host='被数据库地址', port=端口号, user='数据库用户名', passwd='数据库用户密码', db='数据库名') ``` 3. 填写要写入复制信息的数据库信息 ```python # 连接数据库2 db_2 = pymysql.connect(host='被数据库地址', port=端口号, user='数据库用户名', passwd='数据库用户密码', db='数据库名') ``` #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)