'Mysql restore file .dump database

I execute the command : mysql -u user -p -h localhost bd_new < bd_dump.dump. Dont restore the bd and dont show error message. I use other code: mysql -u root -p bd_new < bd_dump.dump and it happens like previus one. The trouble are a .dump?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source