0

I have tried several syntax:

mysqldump -uroot -p<passwd> world_innodb > D:/labs/world_innodb_backup.sql
mysqldump -u root -p <passwd> world_innodb > D:/labs/world_innodb_backup.sql
mysqldump world_innodb > D:/labs/world_innodb_backup.sql
mysqldump --user=root --databases=world_innodb > D:/labs/world_innodb_backup.sql

I have also tried with back slash instead of slash.

In all cases it shows a new line with prompt "->". Writing ";" returns always syntax error without any clue about what part of the syntax has the error.

Any idea?

Tonatiuh
  • 1
  • 1
  • Possible solution: https://stackoverflow.com/questions/3031412/how-to-export-a-mysql-database-using-command-prompt ? – hd84335 Jan 02 '18 at 22:52
  • Try to execute `mysqldump` from the Command Line of the operating system (for example, PowerShell), not from the MySQL Command Line. – wchiquito Jan 02 '18 at 22:55
  • I seemed to work on command line (not in Shell), but the command did not showed any text message about its execution (successfull or failed). How can I get a logfile of the operation? – Tonatiuh Jan 03 '18 at 05:32

0 Answers0