Importing file structure to postgre databases... how to do it?
Anyone know how to import database structures to postgre databases?
It's easy in mysql but I can't figure out how to do it in postgre.. anyone????
Anyone know how to import database structures to postgre databases?
It's easy in mysql but I can't figure out how to do it in postgre.. anyone????
Greg K posted this at 21:04 — 23rd May 2007.
He has: 2,145 posts
Joined: Nov 2003
Not sure it will help, but maybe check out http://phppgadmin.kattare.com/phppgadmin4cvs/ I looked at it and it kinda resembled phpMyAdmin for mySQL databases. I saw in there EXPORT options and SQL query options. Maybe it will work for you if you are used to phpMyAdmin
-Greg
cbc58 posted this at 02:10 — 24th May 2007.
They have: 140 posts
Joined: Nov 2003
thanks....... i also saw the export item but not import.... can't seem to find it.
Greg K posted this at 02:44 — 24th May 2007.
He has: 2,145 posts
Joined: Nov 2003
in phpMyAdmin, when you export a table or database, you can export it as full SQL code, which you can then execute by putting in the SQL section. (in phpMyAdmin, in the SQL tab, you can actually browse to a local file with the SQL statements in it.
Sorry I can't test it out for you to be positive about the steps, I don't have access to a postgre database (BTW, how the heck do you pronounce that?)
-Greg
JeevesBond posted this at 16:53 — 24th May 2007.
He has: 3,956 posts
Joined: Jun 2002
I'm not sure of what you're trying to do here. Import a file structure? Is it what Greg's talking about: getting a database backup file into a database?
Apparently it's pronounced: post-gres. That's according to a teacher on a course I attended. She was part of a working group that helped write the original SQL specs, so I suppose she knows what she's talking about.
a Padded Cell our articles site!
cbc58 posted this at 17:22 — 24th May 2007.
They have: 140 posts
Joined: Nov 2003
I am trying to take a mysql database dump and import it into a postgre database...
Just tried playing around with it for 1/2 hr. and I found out how to export, build a database, query the database........ but nothing on uploadging/importing an exisiting database structure....
JeevesBond posted this at 18:48 — 24th May 2007.
He has: 3,956 posts
Joined: Jun 2002
Here's a similar scenario, from the Postgres mailing lists:
a Padded Cell our articles site!
cbc58 posted this at 14:39 — 26th May 2007.
They have: 140 posts
Joined: Nov 2003
thanks.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.