I made simple PHP script to convert .sql file from SQLite to MariaDB/MySQL format. First dump your SQLite data:
sqlite3 sqlite.sqlite .dump > sqlite.sqlThen, download the script:
curl -o script.php https://raw.githubusercontent.com/huedaya/sqlite3-to-mariadb-format/main/script.phpTo convert simply run:
php script.php sqlite.sql > output.mariadb.sqlTo read more detail please check the repo.
That's it!