Find Sporting Goods on eBay
Video and Audio], Broadcasting and podcasting Real Time Media On The Net

[description], Story, any other text you want to use.

Backing Up And Restoring Your MySQL Database

 by: Vinu Thomas

If you've been using MySQL database to store your important data, it is imperative that you make a backup of your data to prevent any loss of data. This article shows you how to backup and restore data in your MySQL database. This process can also be used if you have to move your data to a new server.

Backing up your database

The quickest and easiest way to backup and restore your database would be to use MySQLDump. If you've got shell or telnet access to your server, you can backup MySQL data by issuing the mysqldump command. The syntax for the command is as follows.

mysqldump -u [uname] -p [pass] [dbname] > [backupfile.sql] [uname] - this is your database username [pass]- this is the password for your database [dbname] - the name of your database [backupfile.sql] - the filename for your database backup

To backup your database 'Customers' with the username 'sadmin' and password 'pass21' to a file custback.sql, you would issue the command

mysqldump -u sadmin -p pass21 Customers > custback.sql

Issuing this command will backup the database to custback.sql. This file can be copied to a safe location or a backup media and stored. For more information on MySQLDump, you can check out : http://www.mysql.com/doc/en/mysqldump.html

Restoring your database

If you have to re-build your database from scratch, you can easily restore the mysqldump file by issuing the following command. This method will not work if the tables already exist in your database.

mysql - u sadmin -p pass21 Customers < custback.sql

If you need to restore existing databases, you'll need to use MySQLImport. The syntax for mysqlimport is

mysqlimport [options] database textfile1

To restore your previously created custback.sql dump back to your Customers Database, you'd issue

mysqlimport -u sadmin -p pass21 Customers custback.sql

For more information on MySQLImport, you can check out : http://www.mysql.com/doc/en/mysqlimport.html

About The Author

Vinu Thomas is a consultant on Webdesign and Internet Technologies. His website is http://www.vinuthomas.com. You can discuss about this article or any PHP/MYSQL related issues in our Discussion Forums: http://www.vinuthomas.com/forum2.html


radio stations in

Real Time Media On The Net
This is one of the best resources for information on Real Time Media On The Net you can possibly find. Follow our links to find more information on Real Time Media On The Net. We hope that we have all of the Real Time Media On The Net details that you could need.
Real Time Media On The Net

Rarely is radio stations in information completely neutral; usually there's a point of view, maybe even a hidden agenda. Because it's so easy to publish on the Internet, opinions on radio stations in abound. Always consider the source of the information. A website fully devoted to wireless laptop modem is more likely to be reliable than one that covers lots of disparate fields. We do recommend at the end of the day that you check out the information for yourself. You are often the very best of judges.

Why is this important? The Internet abounds with all sorts of information on radio stations in, but unless you can be reasonably sure of its source and accuracy, be wary. For example, information about radio stations in posted in Internet newsgroups can be flawed. Even if the radio stations in document contains great technical detail, there is often no hard evidence to back up the claims. Don't make the mistake of accepting gossip as truth, which may prove to be professionally and financially embarrassing.

Main Menu
Real Time Media On The Net
Site Map

Affiliate Ads, Links, news, etc.

News for 01-Jul-25

Source: BBC News - Home
Real-life Libya plane hijack halts hijack film shoot

Source: BBC News - Home
US issues Jordan travel warning after deadly attacks

Source: BBC News - Home
British passenger missing from Queen Mary 2 liner

Source: BBC News - Home
Yemen's displaced

Source: BBC News - Home
Libya Malta hijack: Hijackers arrested as drama ends peacefully

Source: BBC News - Home
Adrenaline and exhaustion

Source: BBC News - Home
British astronaut Piers Sellers dies

Source: BBC News - Home
The technology of touch

Source: BBC News - Home
Obama's snowman phobia

Source: BBC News - Home
Africa's top shots: 16-22 December 2016


Links
Links
Links
Google

Medical Presentations | Medical Newscast | Forum On The Net | Medical Newscast
Copyright © 2005. Name of Site here. Last Updated: Tuesday, 01-Jul-2025 00:01:09 MDT.
Present On The Net   Take It Right   Take It Correctly