Ubuntu install and tips

This project is maintained by nicolas-brousse

← Go home

Convert MySQL database to PostgreSQL

OR

# To install mysql2psql (under ubuntu 11.10): No need to get from github, just:
$ gem install mysql pg mysql2psql
# To get info about the mysql socket:
$ netstat -l | grep mysql

# creates a .yml template
$ mysql2psql
# edit the template
$ vi mysql2psql.yml
# connects to mysql database and write into postgres database
$ mysql2psql

Sources:


← Go home