https://github.com/anzo52/mysql2sqlite3
Convert mysql data to sqlite3 database
https://github.com/anzo52/mysql2sqlite3
data-transfer database db mysql mysql-to-sqlite sqlite3
Last synced: 2 months ago
JSON representation
Convert mysql data to sqlite3 database
- Host: GitHub
- URL: https://github.com/anzo52/mysql2sqlite3
- Owner: Anzo52
- License: gpl-3.0
- Created: 2023-12-29T04:51:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T18:15:59.000Z (over 2 years ago)
- Last Synced: 2025-01-01T19:13:37.871Z (over 1 year ago)
- Topics: data-transfer, database, db, mysql, mysql-to-sqlite, sqlite3
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MySQL to SQLite Data Transfer
This repository contains a Python script for transferring data from a MySQL database to a SQLite database.
## Prerequisites
- Python 3.6+
- MySQL Connector Python
- SQLite3
- python-dotenv
- simple-term-menu
- rich
## Installation
1. Clone this repository
2. Create Python virtual environment
3. Install the required packages
4. Set up environment variables
```bash
git clone https://github.com/Anzo52/mysql2sqlite3.git
cd mysql2sqlite3
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
cp .env.example .env
```
## Usage
```bash
python3 main.py
```
## License
This project is Licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.