|
[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
video cable
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
|
Thousands of video cable e-stores now thrive on the Web, providing people with a way to purchase goods and services electronically. For small businesses, the Internet can deliver a global market. Depending on which survey you believe, that may be more than 350 million people, with another 500 million Internauts projected over the next few years. If the demographics of the online community match your video cable customer profile, that's a lot of potential new business. While the potential is there, however, challenges loom large.
Remember, it takes time for people to adopt to new technology and modes of transactions. Many people remain reluctant to give out their credit card numbers over the Internet for video cable purchases. But most analysts project healthy growth for video cable online sales, especially as security issues are addressed.
Real Time Media On The Net Index
|
Main Menu
Real Time Media On The Net
Site Map
Affiliate Ads, Links, news, etc.
News for 16-Nov-24 Source: BBC News - Home Carrie Fisher: Star Wars actress suffers heart attack Source: BBC News - Home Steam baths and brandy Source: BBC News - Home Drip dry Source: BBC News - Home Bethlehem icons created by artists Source: BBC News - Home Donald Trump gets 'very nice letter from Vladimir Putin' Source: BBC News - Home How to stop social media videos autoplaying Source: BBC News - Home Is Nigeria's 'plastic rice' actually real? Source: BBC News - Home All heart Source: BBC News - Home How phones changed the imagery of the American campaign Source: BBC News - Home Trump official Paladino under fire over crude Obama remarks
Links
Links
Links
|