NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

how to transfer a database from one machine to another

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
wayne.zjw



Joined: 05 Dec 2009
Posts: 25

PostPosted: Sat Dec 19, 2009 6:27 pm    Post subject: how to transfer a database from one machine to another Reply with quote

i got a problem that when i copy the data in the mysql folder to another computer's mysql data folder, i can see the databases and the data tables, but the data are all gone,can the mysql data be copied to another machine?


www.raqsoft.com
raq report --the best free java reporting tool ever
Back to top
geraldolmr



Joined: 18 Mar 2009
Posts: 10

PostPosted: Sun Dec 20, 2009 2:02 am    Post subject: Reply with quote

I use the backup/restore feature of the MySQL Administrator tool.

I usually make a backup of a database (all tables) on one machine, at home, (and a restore on the other one at work. Everything is copied, tables, views, stored procedures, indexes, keys.

Geraldo.
Back to top
wayne.zjw



Joined: 05 Dec 2009
Posts: 25

PostPosted: Wed Dec 23, 2009 9:30 pm    Post subject: thanx Reply with quote

thanx for your help, i really appreciate that
i will give i a try

geraldolmr wrote:
I use the backup/restore feature of the MySQL Administrator tool.

I usually make a backup of a database (all tables) on one machine, at home, (and a restore on the other one at work. Everything is copied, tables, views, stored procedures, indexes, keys.

Geraldo.
Back to top
abhi.uppala



Joined: 21 Oct 2008
Posts: 37

PostPosted: Thu Dec 24, 2009 6:17 am    Post subject: Reply with quote

I have tried out his feature before. I agree all the tables,keys etc.. are copied but I dont think the data of the tables are copied.

Not sure though..Better would be to copy the tables and re-enter the data

Thanks
Abhishek Uppala

geraldolmr wrote:
I use the backup/restore feature of the MySQL Administrator tool.

I usually make a backup of a database (all tables) on one machine, at home, (and a restore on the other one at work. Everything is copied, tables, views, stored procedures, indexes, keys.

Geraldo.
Back to top
Futaleufu_John
Posted via mailing list.





PostPosted: Thu Dec 24, 2009 11:27 pm    Post subject: Re: how to transfer a database from one machine to another Reply with quote

I use MySQL's backup and restore features all the time.

I backup the database on the deployment server every week and often restore
that to my development server.

The backup feature backs up the schema and the data.

Note that I delete the database from the development server before restoring
it from the deployment server's backup.

Works every time.


abhi.uppala wrote:
Quote:

I have tried out his feature before. I agree all the tables,keys etc.. are
copied but I dont think the data of the tables are copied.

Not sure though..Better would be to copy the tables and re-enter the data



-----
Any ads or links to ads that appear in this post are not endorsed nor
recommended by this poster.
--
View this message in context: http://old.nabble.com/how-to-transfer-a-database-from-one-machine-to-another-tp26912566p26914697.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com.
Back to top
JordanGray



Joined: 12 Jan 2010
Posts: 2

PostPosted: Tue Jan 12, 2010 6:14 pm    Post subject: Reply with quote

I second that, the backup/restore feature is very helpful. I remember when i first found that my whole database was empty. I was freaking out until I remembered I could use the restore feature. I now backup often.

We are just truly encouraged though using fat burning furnace. Me has written about it in my little source site.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo