Solved

import database schema & data sql files with pgAdmin

Posted on 2010-09-13
6
2,835 Views
Last Modified: 2012-05-10
Hi-   I'm wondering how to import database schema & data with pgAdmin?  Right now I'm just using the sample sakila database, http://downloads.mysql.com/docs/sakila-db.zip.  Is there a way to do it without the sql command line?  

thanks!
-xana
0
Comment
Question by:xanabobana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 

Author Comment

by:xanabobana
ID: 33674038
ok, so I found there's a Data Migration tool but I can't get the installer to download!   http://www.sqlmaestro.com/products/postgresql/datawizard/download/

C:\Documents and Settings\Administrator\My Documents\Downloads\postgresql_datawizard_setup.exe. could not be saved, because the source file could not be read.

I've tried 5 or 6 times since midnight last night with no luck.  Tried emailing them but no luck yet...
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 33674452
Which database environment are you using, PostgreSQL or MySQL?  In the question you are trying the MySQL db, but the tool download is PostgreSQL?
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 33674463
And I see you are using pgAdmin, so this must be PostgreSQL, right?  So are you trying to import MySQL database to your PostgreSQL server?
0
Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

 

Accepted Solution

by:
xanabobana earned 0 total points
ID: 33674883
I finally got the data migration wizard installed!

just in case other people need explicit instructions:

I found & ran the StackBuilder application, which is included in the postgres server install.  I was able to install the data migration tool from there.  Trying it out now, I'll let you know if I get it working!
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 33674981
Good luck. So guess you are trying to migrate a MySQL server to PostgreSQL. Got you now on the mix of zones and information.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 33674987
If it does work, you can accept your last comment above as the answer which will (1) refund your points but (2) leave your solution available to the community.  Nice work!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question