开发者

How to convert mysql to sqlite3 using PHP

I have a database on mysql server. I want to convert that to sqlite开发者_如何转开发3 database without using shell or perl scripts. I want some help converting the same using PHP. Any Help would be appreciated.


Using PHP only would be rather troublesome, you'd have to get all the records from your mysql table, create the appropriate tables in sqlite3 and insert the records.

As far as I can tell you just want to to it automatically, so I would'nt see the harm in using shell programs. You could quite easily do this using the exec function: http://nl3.php.net/manual/en/function.exec.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜