What specific application are you using that relates to the
add_user.php file?
You may have this issue because your databases are now fairly large and so the settings in the \xampp\mysql\bin\my.ini file are inadequate and so the server triggers a time out.
The default my.ini file assumes low resources and is based on the my-small.ini found in the \xampp\mysql folder and so this may not suit your particular needs.
Remember to make a backup of any file you edit in XAMPP before editing.
Find and edit these settings in the \xampp\mysql\bin\my.ini file, so they look like this
- Code: Select all
[mysqld]
key_buffer = 384M
max_allowed_packet = 64M
table_cache = 4096
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 64M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
innodb Specific
innodb_buffer_pool_size = 384M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 10M
innodb_log_buffer_size = 64M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 180
MySql provides sample configuration files within its package (called in Windows "my-huge.ini" , "my-innodb-heavy-4G.ini" , "my-large.ini" , etc). They are to be found in the \xampp\mysql folder. Browse them and determine by yourself what suits you (and your system) best.
You can rename the existing my.ini to my_orig.ini and then copy the one that best suits into the bin folder and rename it to my.ini then edit it and copy over the XAMPP specific entries from my_orig.ini file.
Save the file and restart MySQL, clear your browser's temporary files (cache) and check again what brought on the error message.
Remember you always have your original backup my.ini if all goes pear shaped after editing.
Here is what MySQL Dev have to say about it (mostly in geek speak though).
http://dev.mysql.com/doc/refman/5.0/en/gone-away.htmlI hope this helps and please post some feedback one way or the other.
Thanks.
Good luck.