SoftwareTipsandTricks Forum

Go Back   SoftwareTipsandTricks Forum > General Computing > Internet
User Name
Password


moving database as moving host... prob with myphpadmin export/import

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes

  #1  
Old 09-20-2009, 10:35 AM
stephenn Offline
Registered User
 
Join Date: Nov 2005
Posts: 32
moving database as moving host... prob with myphpadmin export/import

hello
am moving host and so have to move my mysql database.....

through myphpadmin (old) I have exported then saved as a sql text file
through myphpadmin (new) I have imported it.....

PROBLEM... the new myphpadmin says 'error' 'database already exists'

This is the first time I have needed to do this...

QUESTION:.. any ideas of how to export import without this error
thanks
Reply With Quote

  #2  
Old 09-20-2009, 02:08 PM
stephenn Offline
Registered User
 
Join Date: Nov 2005
Posts: 32
SORTED.....!

instead of exporting to a file, I copied and pasted the sql content between the two myphpadmins.. with one alteration...

... at the top of the file it said:
CREATE DATABASE (myname)

I deleted this bit but kept all else

Now all tables and contents are in new myphpadmin

cheers
Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing a Web Host? Where do you Start? SeoGuy Internet 0 09-06-2005 02:13 PM



All times are GMT -5. The time now is 09:23 PM.


Designed by eXtremepixels. Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.