Preface
Due to running two JVMs, the beans sent by SAE every month are insufficient and the migration to Parse is being stepped up. The primary issue of migration is Data migration. Here we will import Data from Mysql of SAE to Parse Data. Here we will share some import experience.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog: http://www.cnblogs.com
Farmer's uncle: http://over140.cnblogs.com
Body
I. Series
1. [Parse] development notes (1) -- Preparation
Step 2
2.1 export CSV data from Mysql
The CSV exported by PHPMyAdmin is used here,
Note that the field separator is changed from ";" to ",", and then the exported field name is checked. This completes the import. If the field name is not selected, a default field name will be given in the past. This name cannot be changed and can only be deleted.
2.2 import CSV Data to Parse Data
First, log on to Parse and go to Data Browser,
Select File point Import. If File Parsing is normal, enter the field setting interface:
Click Set Schema at the end, and the Importing rows... will be displayed. Just wait. The import is successful !!
Iii. Others
Import the settings schama interface and find:
The 3.1 _ id field is missing. All fields connected with _ are intercepted only in the previous section.
3.2 All fields are capitalized
After the import is complete, the "_ id" field is changed to "Parse _ id", and three new fields are added: objectId, createdAt, and updatedAt.
Note: objectId is automatically generated and uniquely identified.
Iv. References
Large file parse and import PHP MySQL