mysqldump is not dumping my data

Posted by oompahloompah on Server Fault See other posts from Server Fault or by oompahloompah
Published on 2011-03-19T15:18:49Z Indexed on 2011/03/19 16:11 UTC
Read the original article Hit count: 192

Filed under:
|
|

I am running mysqldump on Ubuntu Linux (10.0.4 LTS)

my mySQL version info is:

mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1

I used the following command:

mysql -u username -p dbname > dbname_backup.sql

However when I opened the generated .sql file, I saw that most of the tables had only the schema dumped and in the few cases where the actual data was dumped, only 1 or two records were dumped (there are ATLEAST several tens of records in each table).

Does anyone know what maybe going on?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about mysql