Search code examples
mysqldatabase-backups

mysqldump comand showing blank


I want to export large database using command line mysqldump but when i use the command mysqldump it shows blank and nothing happen.

after login mysql


Solution

  • mysqldump must be run from the regular shell, not inside the mysql program.

    Type ; followed by Return to end the command you've started typing. You'll get an error because mysqldump is not a valid SQL query.

    Type quite to get out of the mysql program and back to the normal command prompt.

    Then type your mysqldump command line. You'll need to provide some arguments, such as the database and table names to dump.