moogle

Well-Known Member
Apr 7, 2003
94
0
156
A client is trying to download a rather large database (30+ mb) to back it up but after about 5mb it stops, times out. Is there something I can do so he can back up the entire DB?

He had the same problem when uploading it, but found he could upload with FTP and then import it. This is too much work to keep doing, so I wonder if I can raise the timeout limit on MySQL.

I was told this was set in Apache, would I be able to change it?

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,052
0
166
You probably have the MySQL execute timeout variable as default(which is 5 seconds). You can either do the backup via the command line as root or increase the timeout by:

edit: /etc/my.cnf
add under [mysqld]: set-variable = connect_timeout=25
service mysql stop
service mysql start

cPanel.net Support Ticket Number: