skip to main | skip to sidebar

Vishnu Ugale

Monday, November 29, 2010

Mysql dump and restore database

To dump and restore all database of mysql server use following command

mysqldump -u root -psecret --all-databases > /var/www/backup.sql
mysql -u root -psecret < /var/www/backup.sql
Posted by Vishnu Ugale at 6:39 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2022 (1)
    • ►  November (1)
  • ►  2011 (6)
    • ►  June (1)
    • ►  April (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2010 (17)
    • ►  December (2)
    • ▼  November (5)
      • install clamAV on httpd server
      • Mysql dump and restore database
      • mysql access denied for user 'root@localhost' usin...
      • Update the root password for mysql database
      • check/repair file system - Linux
    • ►  May (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (6)
  • ►  2009 (7)
    • ►  December (3)
    • ►  November (1)
    • ►  September (2)
    • ►  April (1)
  • ►  2008 (4)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)

About Me

Vishnu Ugale
Pune, Maharastra, India
View my complete profile