NETWORK WORLD NEWSLETTER:  STEVE BLASS WITH ASK THE EXPERTS
09/20/04
Today's focus:  The best way to copy a MySQL database to another
machine

Dear [EMAIL PROTECTED],

In this issue:

* Dr. Internet columnist Steve Blass offers advice on the best 
��way to copy a MySQL database to another machine
* Links related to Ask the Experts
* Featured reader resource
_______________________________________________________________
This newsletter is sponsored by Alterpoint 

Read the latest analyst report on Network Change and 
Configuration Management (NCCM) written by EMA's Dennis 
Drogseth.  This report discusses the latest developments in the 
NCCM market, including an in-depth look at DeviceAuthority 
Suite, a comprehensive solution for configuring, changing, and 
controlling today's complex, multi-vendor IT network 
infrastructures.   Download the report today to learn how you 
can leverage NCCM to reduce the cost and complexity of managing 
network change. 
http://www.fattail.com/redir/redirect.asp?CID=81333
_______________________________________________________________
DOWNLOAD THE LATEST SPECIAL REPORTS FROM NETWORK WORLD 

Focused reports on compelling industry topics, Network World 
Special Reports are available online at Network World Fusion. 
Network World Special Reports on Mobility, IP Telephony 
Security, the State of Wireless LANs and more are currently 
available. Download any or all of our Special Reports at: 
http://www.fattail.com/redir/redirect.asp?CID=81351
_______________________________________________________________

Today's focus:  The best way to copy a MySQL database to another 
machine

By Steve Blass

After reading your story on Copying MySQL databases ( 
<http://www.nwfusion.com/columnists/2004/0329internet.html> ),  
I would like to know whether a MySQL database can be copied from 
one machine to another using the mysqldump command instead of 
taking a snapshot by copying the data directory.

The mysqldump command can be used to export MySQL ( 
<http://www.mysql.com/> ) database data for one database at a 
time or for all MySQL data.

According to the documentation ( 
<http://dev.mysql.com/doc/mysql/en/mysqlhotcopy.html> ), you 
should consider using the mysqlhotcopy instead if you are 
backing up a server. Unfortunately, mysqlhotcopy might not work 
very well on Windows systems, and it can only be run on the 
system that has the database directories.

The mysqldump command uses a syntax that looks like

mysqldump [options] db_name [tables]

where entire databases will be dumped if you do not name any 
tables. You can replace the db_name and tables list with 
"-all-databases" to dump everything.

For MySQL versions prior to 4.1, include the -opt option in 
your command; otherwise, the entire result set gets loaded into 
memory before anything is dumped.

Loading your dumped data into another MySQL system can be done 
by using the "mysqlimport" command.
_______________________________________________________________
To contact: Steve Blass

Blass is a network architect at [EMAIL PROTECTED] in Houston. He can 
be reached at <mailto:[EMAIL PROTECTED]>.
_______________________________________________________________
This newsletter is sponsored by Alterpoint 

Read the latest analyst report on Network Change and 
Configuration Management (NCCM) written by EMA's Dennis 
Drogseth.  This report discusses the latest developments in the 
NCCM market, including an in-depth look at DeviceAuthority 
Suite, a comprehensive solution for configuring, changing, and 
controlling today's complex, multi-vendor IT network 
infrastructures.   Download the report today to learn how you 
can leverage NCCM to reduce the cost and complexity of managing 
network change. 
http://www.fattail.com/redir/redirect.asp?CID=81333
_______________________________________________________________
ARCHIVE LINKS

Dr. Internet archive:
http://www.nwfusion.com/columnists/blass.html

Nutter's Help Desk archive:
http://www.nwfusion.com/columnists/nutter.html
_______________________________________________________________
FEATURED READER RESOURCE
ACCESS NW'S IN-DEPTH REPORT ON: BLADE SERVERS

Available now is Network World's Technology Insider on: Blade 
Servers. Find out why early adopters of blade server technology 
say the benefits aren't science fiction, how blade servers 
differ by vendor, why blade servers are perfectly suited for 
today's data centers, review our extensive blade server buyer's 
guide and more. Click here:
<http://www.nwfusion.com/nlgrease611>
_______________________________________________________________
May We Send You a Free Print Subscription? 
You've got the technology snapshot of your choice delivered 
at your fingertips each day. Now, extend your knowledge by 
receiving 51 FREE issues to our print publication. Apply 
today at http://www.subscribenw.com/nl2

International subscribers click here: 
http://nww1.com/go/circ_promo.html
_______________________________________________________________
SUBSCRIPTION SERVICES

To subscribe or unsubscribe to any Network World e-mail 
newsletters, go to: 
<http://www.nwwsubscribe.com/Changes.aspx> 

To unsubscribe from promotional e-mail go to: 
<http://www.nwwsubscribe.com/Preferences.aspx> 

To change your e-mail address, go to: 
<http://www.nwwsubscribe.com/ChangeMail.aspx> 

Subscription questions? Contact Customer Service by replying to 
this message.

This message was sent to: [EMAIL PROTECTED] 
Please use this address when modifying your subscription. 
_______________________________________________________________

Have editorial comments? Write Jeff Caruso, Newsletter Editor, 
at: <mailto:[EMAIL PROTECTED]> 

Inquiries to: NL Customer Service, Network World, Inc., 118 
Turnpike Road, Southborough, MA 01772

For advertising information, write Kevin Normandeau, V.P. of 
Online Development, at: <mailto:[EMAIL PROTECTED]> 

Copyright Network World, Inc., 2004

------------------------
This message was sent to:  [EMAIL PROTECTED]

Reply via email to