Skip to main content

A tool to migrate SQLite (.csdb) data to MySQL with a user-friendly GUI.

Project description

Migrator Tool

A Python-based tool for migrating SQLite .csdb files to MySQL, featuring a user-friendly GUI.

Features

  • Easy migration from SQLite to MySQL
  • Handles table schemas, constraints, and data
  • Supports batch data migration for large tables

Installation

Install via pip:

pip install migrator-tool

Extra Details below

MariaDB Installation and Setup

Installing MariaDB

MariaDB installation is required unless you have already installed it via XAMPP.

On Windows:

  1. Download the MariaDB installer from the official website.
  2. Run the installer and follow the setup instructions.
  3. During installation, set a root password and remember it for later use.

On Linux:

  1. Update your package index:
    sudo apt update
    
  2. Install MariaDB:
    sudo apt install mariadb-server
    
  3. Start the MariaDB service:
    sudo systemctl start mariadb
    
  4. Secure the installation:
    sudo mysql_secure_installation
    

Correct Syntax for MariaDB <10.4

For MariaDB versions prior to 10.4, use the following syntax to set the root password:

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('your_password');
FLUSH PRIVILEGES;

Correct Syntax for MariaDB 10.4+

MariaDB 10.4+ uses a different authentication plugin by default. Update the authentication plugin and password as follows:

  1. Set the authentication plugin and password:
    ALTER USER 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('your_password');
    SET PASSWORD FOR 'root'@'localhost' = PASSWORD('your_password');
    
  2. Apply the changes:
    FLUSH PRIVILEGES;
    

Correct Steps for Updating the Plugin

If you connect from 127.0.0.1 or ::1, update the plugin for these hosts as well:

ALTER USER 'root'@'127.0.0.1' IDENTIFIED VIA mysql_native_password USING PASSWORD('your_password');
ALTER USER 'root'@'::1' IDENTIFIED VIA mysql_native_password USING PASSWORD('your_password');

Restart the MariaDB Service

After making the changes, restart the MariaDB service to apply the configurations:

On Windows:

  1. Open the Services Manager (services.msc).
  2. Locate MariaDB.
  3. Right-click and select Restart.

On Linux:

sudo systemctl restart mariadb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

migrator_tool-1.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migrator_tool-1.0.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file migrator_tool-1.0.2.tar.gz.

File metadata

  • Download URL: migrator_tool-1.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for migrator_tool-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d4ba94b4b5609dca8e3bc899763a7c1c6873ca1d33ee108033c8edf8430aa9a1
MD5 802c12070b4131fcad7ed2d88eb160c3
BLAKE2b-256 5bd3a774e185cd05fe18871c173e6d228a042794f1c1628a992c51b5e29a5563

See more details on using hashes here.

File details

Details for the file migrator_tool-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: migrator_tool-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for migrator_tool-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6029b48bcf545023f741cbc1c8195d03d816d3f1955aef13c8752b16bb95e0aa
MD5 c7429cf31254c61c1557982bc56f7cf3
BLAKE2b-256 302e0f268312224c755753ee029d4064b7bbd825c39a2d7564e9b72b10677633

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page