I want to transfer a production database to my development machine for tests.
It has 6 tables with MEMORY
engine for performance purposes.
I did mysqldump --routines -hxxx -uxxx -pxxx prod_database > prod_dump.sql
. When I did mysql -hxxx -uxxx -pxx prod_clone_database < prod_dump
on the same production server (so I had a clone for UAT, because we haven't yet bought a UAT Mysql virtual server) that works OK.
When I do that same mysql -uroot -proot prod_clone < prod_dump.sql
I get an error ERROR 1114 (HY000) at line 138735: The table 'sezione_a' is full
Production server runs Linux with 1GB of RAM, and runs only mysqld
daemon.
My laptop has 16GB of RAM. Why the heck do I get a table full error? How do I avoid that? Since data in that table is not relevant for tests, can I exclude its DML from the dump? I need the DDL anyways