I wanted to backup my MySQL database and I accidentally used mysql
command instead of mysqldump
. So I executed:
/usr/local/mysql5/bin/mysql -u db_username -p db_name > db_backup.sql
Instead of:
/usr/local/mysql5/bin/mysqldump -u db_username -p db_name > db_backup.sql
I was ask for the db password and nothing happened after. The process just didn't react and I had to kill it. Could this have damaged my database?