Beiträge zum Tag MySQL

MySQL Root Passwort zurücksetzen

In diesem Fall auf Ubuntu 12.04.3. # MySQL stoppen service mysql stop # MySQL im Safe-Mode mit "--skip-grant-tables" starten. mysqld_safe --skip-grant-tables # Als "root" ohne Passwort anmelden mysql -u root # Ein neues Passwort für "r...

SQL Dump erstellen

Einen SQl-Dump erstellt man wie folgt: mysqldump -h localhost -u [Benutzer] -p [Passwort] -c --add-drop-table --add-locks --all --quick --lock-tables [Datenbankname] > dump.sql