9.1.2. Restore per mysql.exe

22.05.2024 HW

Aufruf mit Passwort in default-file:

Zur Übersicht Zeilenvorschub statt Leerzeichen
"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe"
--defaults-file="d:\pns2000\TEMP\tmp.cnf"
--quick
--force
--host=localhost
--port=3306
--user=root
--binary-mode
  DB_NAME
<
"F:\Bak\01\dump.sql"

Weitere Parameter:

--password=PASSWORD
--password=‘PASSWORD!‘

Default-File:

Z.B: tmp.cnf
[client]
password=passwort