Migrating data into Firebase from MySQL

后端 未结 2 1085
走了就别回头了
走了就别回头了 2020-12-02 11:04

I have an existing PHP/MySQL app which I am trying to migrate to AngularJS/Firebase, just as a way to learn these newer technologies.

The app has its own schema of t

2条回答
  •  囚心锁ツ
    2020-12-02 11:25

    Just in case anyone else comes across this question in the future there is a much easier way of doing this.

    You can export your MySQL tables to a CSV file using a tool like SQLYog.

    Once you have your CSV file you can then convert that to a JSON format using a free online tool like this one: http://www.convertcsv.com/csv-to-json.htm

    I just imported 40 tables from MySQL to Firebase in about 15 minutes. Hope that helps someone!

提交回复
热议问题