I have a problem. I run an open source game software on one of my servers (eAthena) and they use MySQL as their preferred database. However, every time I run mysqldump
mysqldump -u backup -p*** eathena > test-backup.sql
it ends up hanging the server. The eAthena software hangs, and ends up shutting down once it’s complete. Is this a size problem? Seeing as how the database is 4.7gb, I’m not sure what to blame. Is there some type of alternative my mysqldump?
I’m running CentOS 6 64bit, MySQL version 5.1.52.
it seems that your mysql installation is running out of memory. Check /etc/my.cnf or /etc/mysql/my.cnf (or wherever it is on CentOS).
increase the table_cache and key_buffer_size . See the examples of confs that comes with the mysql installation:
my-huge.cnf’,my-large.cnf’,my-medium.cnf’, andmy-small.cnf’. Compare your confs with this:don’t forget to restart mysql server before try again