I need PHP code to convert a database. I tried How to convert mysql to SQLite using PHP , but it has an answer
Finally I found my solution. Save the sh file to https://gist.github.com/943776 and execute " ./mysql2sqlite.sh DBNAME --databases DBNAME -u DB_USERNAME -pDB_PASSWORD | sqlite3 database.sqlite " (without qoutes and with ``) in the php file Save both files in one folder
./mysql2sqlite.sh DBNAME --databases DBNAME -u DB_USERNAME -pDB_PASSWORD | sqlite3 database.sqlite
Go to phpmyadmin click export database download as sql file.
Download it ....
go to your sql lite management software import the .sql file
done ...
Source: https://habr.com/ru/post/1435449/More articles:Is there a way to download the pyside online document and then convert it to a CHM file? - pysideIs there a way to disable the maven-deploy-plugin deployment target via settings.xml - mavennumpy.array () exceptions (sorry for the originally terrible name) - pythonXcode 4.5 - iOS Development - iphoneIOS update problem UItableview reloadRowsAtIndexPaths - ioscan't display Β₯ with TCPDF, but other kanji are fine - phpHow to convert mysql to SQLite using PHP - databaseDoes this PHPUnit test make sense (or am I testing a framework / PHP)? - phpEclipse RCP: how to export startup configuration plugins? - javaViews and forms for users updating key / value collections in Rails - ruby-on-railsAll Articles