| От | Chris |
|---|---|
| Тема | Re: Importing MySQL dump into PostgreSQL 8.2 |
| Дата | |
| Msg-id | 4705B851.1080209@gmail.com обсуждение исходный текст |
| Ответ на | Importing MySQL dump into PostgreSQL 8.2 (Jeff Lanzarotta <delux256-postgresql@yahoo.com>) |
| Ответы |
Re: Importing MySQL dump into PostgreSQL 8.2
|
| Список | pgsql-general |
Jeff Lanzarotta wrote: > Hello, > > I have a MySQL dump file that I would like to import into our PostgreSQL > 8.2 database. Is there a way to do this? You'll need to convert the table definitions then the data. For example, mysql has int(11) columns, postgres only has int columns. I usually convert the tables, then do a csv dump from mysql: select * from table into outfile '/path/to/file'; then import into postgres: \copy table from '/path/to/file' -- Postgresql & php tutorials http://www.designmagick.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера