Uncategorized

Use mysqldump to get single table

Hello all, this is primarily so I don’t forget how to do this in the future. I needed to get a dump of a single table out of a remote database. This is the mysqldump command to pull that off:


mysqldump -p --user user databaseName tableName > out.sql

Hello all, this is primarily so I don’t forget how to do this in the future. I needed to get a dump of a single table out of a remote database. This is the mysqldump command to pull that off:


mysqldump -p --user user databaseName tableName > out.sql