convert mysql database to sqlite

please help me how to convert mysql database to sqlite file??

regards.

This is Yii forum but… here http://lmgtfy.com/?q=convert+mysql+database+to+sqlite

yes. it is yii forum.

i want to make code with yii code, how to convert mysql database to sqlite file.

like backup database mysql using yii code, but for now i want to create backup/ convert my database mysql to sqlite

i am using rest api.

can you help me?

Ah, see, you need to start asking full questions.

I recommend using 3rd party tools like given here http://www.sqlite.org/cvstrac/wiki?p=ConverterTools

In theory you can use yii migration tool if you remove all commands not supported by sqlite.

i haven’t idea, but thanks for your answers.