Search code examples
mysqlperformanceverbose

Prevent verbose output undumping from mysqldump


I've dumped a table on a remote server from one database (MySQL 5.5) to a file. It took the server about 2 seconds to perform the operation. Now I'm trying to undump data from the file into another DB (same version) on the server.

The server outputs the data being processed on the screen in spite of the fact I didn't specify --verbose parameter. How can I prevent the output?

It takes the server some 10 minutes to perform the operation. Is that time acceptable or can I make it much faster? If yes, how can I do this?


Solution

  • Loading (undumping) is via the mysql commandline tool:

    mysql  -u user  -p  dbname  < mydump.sql