Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2008, 04:51 AM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to drax0075
Default Back-up Files

I downloaded a back-up file that was sent to me by a colleague and I need to write out a schema from my own MySql database in order for me to be able to retrieve the information that is inside the back-up

 
Old September 29th, 2008, 01:08 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

can u send the backup file to me, so i can help u

surendran
(Anything is Possible)
http://www.suren.info
http://ssuren.spaces.msn.com
 
Old October 5th, 2008, 05:46 PM
Authorized User
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You only need the mysql GUI Client tool and import the backup but only if the format is supported(you don't need to create the schema).

http://FindaJobSearch.com
 
Old October 5th, 2008, 11:31 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

You already have the tools to do this. You don't need to send your DB to anybody.

http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

If you want to dump only the schema, you just use a command (from a command line, of course) such as

mysqldump --no_data yourDBName

or, if the DB is user/password protected as it should be:

mysqldump --no_data -u yourUserName -pyourPassword yourDBName

The MySQL docs take a little getting used to, but once you learn your way around, most everything you need is in them.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating Excel FIles from resource Files abinashpatra ASP.NET 1.0 and 1.1 Basics 0 July 28th, 2008 02:07 AM
jsp files and html files jamara ASP.NET 2.0 Basics 1 November 20th, 2006 07:03 AM
history.back or hitting the back button won't work lian_a Classic ASP Basics 4 July 29th, 2004 12:14 AM
decrypt files from zip files mmmobasher VS.NET 2002/2003 0 January 21st, 2004 03:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.