# 导出phpMyAdmin数据库export db phpMyAdmin **Repository Path**: www16wincn/export-db-phpMyAdmin ## Basic Information - **Project Name**: 导出phpMyAdmin数据库export db phpMyAdmin - **Description**: 导出phpMyAdmin数据库 - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: https://16win.cn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-20 - **Last Updated**: 2025-02-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # export-db-phpMyAdmin 找不到一个能用的,只能撸一个了,同时送1个自动从服务器通过FTP备份整个网站的脚本, 两个加起来就是整个网站自动备份了,再加个定时器。。 # 使用说明 使用前请先修改代码里面, 1. 指定导出数据库名称 'db': 'dbname1' 2. 指定要导出的表格,找到源码 List of table names (requires manual addition) 位置 手工指定所有表格,用逗号分开 3. 修改phpMyAmin服务器地址及登入用户名,密码 上面修改完成后,用python3 dbexport.py即可以自动导出指定数据库到本地 # Usage Instructions Before using, please modify the following in the code: 1. Specify the database name to export: `'db': 'dbname1'` 2. Specify the tables to export: - Locate the source code at `List of table names (requires manual addition)` - Manually specify all the tables, separated by commas 3. Modify the phpMyAdmin server address, login username, and password. Once the above modifications are completed, you can automatically export the specified database to your local machine using the command: ```bash python3 dbexport.py ``` ```` ▋