[Mysql] SQL Dump per Kommandozeile

Hallo,

ein SQL-Dump über die Kommandozeile auf Linux-Systemen wird folgendermaßen erstellt:

mysqldump -h localhost -u [MySQL user, e.g. root] -p[database password] -c --add-drop-table --add-locks --all --quick --lock-tables [name of the database] > sqldump.sql

Leave a Reply

Your email address will not be published. Required fields are marked *