|
|
[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
talk radio
If you want specific information, such as information about talk radio Web directories are the way to go, because they search all the contents of a website. Indexes use software programs called spiders and robots that scour the Internet, analyzing millions of web pages and newsgroup postings and indexing all of the words, including talk radio.
Indexes like AltaVista and Google find individual pages of a talk radio website that match your search criteria, even if the site itself has nothing to do with what you are looking for. You can often find unexpected gems of information this way, but be prepared to wade through a lot of irrelevant information too. Our talk radio information is apposite.
Search results may be ranked in order of relevancy eg the number of times your talk radio search term appears in a document or how closely the talk radio document appears to match a concept you have entered. This is a much more thorough way to locate what you want. Alternatively you can go with our talk radio recommendations and save a lot of time.
Broadcast On the Net Index
|
Main Menu
Broadcast On the Net
Site Map
Affiliate Ads, Links, news, etc.
News for 21-Jun-26 Source: BBC News - Home Drip dry Source: BBC News - Home Peter Frankopan: This year in history Source: BBC News - Home The longest kiss Source: BBC News - Home UN votes against Israeli settlements Source: BBC News - Home Man 'in love' drives through airport Source: BBC News - Home May Christmas message urges unity after Brexit vote Source: BBC News - Home Steam baths and brandy Source: BBC News - Home Obama's snowman phobia Source: BBC News - Home Gorging on love Source: BBC News - Home Allan Little: The year the world changed
Links
Links
Links
|