dtq26360 2012-12-06 06:41
浏览 412

如何在PHP中将MySQL数据库文件(.sql)转换为SQLite文件?

I have a MYSQL database dump file in ".sql" format but I have required "SQLite" file, is it possible to convert .sql file into SQLite file using php script or any other way?

I have also tried shell script code but this script create only file with 0 bytes.

Thanks 2 all

  • 写回答

2条回答 默认 最新

  • duanfang2708 2012-12-06 06:44
    关注

    Go to phpmyadmin click export database download as sql file.

    Download it....

    go to your sql lite management software import the .sql file

    done...

    If you do not have access to PhpMyAdmin, you could use the mysql dump command and use this file to import it into your sqlite database http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

    评论

报告相同问题?

悬赏问题

  • ¥15 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!