I collected some articles on postgresql to mysql on the Internet. Most of them said that I first exported the SQL script from postgresql, and then manually changed some of the statements in the SQL script to the mysql format, I thought that if I was a big data company, I would also manually change the data to mysql?
Www.2cto.com finds a conversion tool DBConvert for MySQL & PostgreSQL between databases, which is very convenient to convert between databases. Of course, everyone knows that convenient software is free of charge, after installing the software, you can try it out for a period of time to switch the database time.
Step 1: Click trial Step 2: select a data source and connect to the database of the corresponding data source. I am using postgresql, select the database to be converted, and click next after the test connection is successful.
Step 3 of www.2cto.com: The next step is to fill in the connection and target database of the target database. My target database is mysql Step 4: Click Next to see the corresponding table and table structure. Click Next to execute.
As long as this field is not filled in correctly, the entire conversion process is very smooth and I have to admire the strong technology of foreign friends. Appendix: http://dbconvert.com/convert-mysql-to-postgresql-pro.php? DB = 3