user225269
user225269

Reputation: 10913

no previous outfile available in mysql console

mysqlhotcopy hospital C:\Temp

I'm using the code above to backup the hospital database in MySQL. But it said that "no previous outfile available, you must give a filename."

How do I properly do it?

Upvotes: 2

Views: 3440

Answers (1)

jackbot
jackbot

Reputation: 3021

You need to specify a file path for the output, not just a directory.

mysqlhotcopy hospital C:\Temp\hospital

Upvotes: 1

Related Questions