skip to main | skip to sidebar

Vishnu Ugale

Friday, December 17, 2010

Mysql Dump and restore single database

Use the following command to dump and restore mysql database

mysqldump -u root -p dbName  > /var/www/dbBackup.sql
mysql -u root -p dbName < /var/www/dbBackup.sql
Posted by Vishnu Ugale at 5:29 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)
      • Mysql Dump and restore single database
      • SCP command to transfer files using putty or shell
    • ►  November (5)
    • ►  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