Amit's Blog
  • Home
  • Videos
  • All Posts
  • Tags
  • About Me
Subscribe
Tagged

mysql command line

A collection of 1 post

mysql

Backup restore mysql database

> `mysqldump --databases db1 db2 db3 db4 > backup.sql``` > mysqldump --all-databases > backup.sql If you get an error that says : Got a packet bigger than ‘max_allowed_packet’ bytes then increase your max allowed packet either in my.cnf or in mysql shell mysql>set global

  • amit
amit Apr 14, 2011 • 1 min read
Amit's Blog © 2025
Powered by Ghost