max_allowed_packet when uploading heavy file in localhost
Unanswered
Savannah posted this in #help-forum
SavannahOP
Hey guys, i got this error when trying to upload an heavy file in my localhost application. Before posting this message, i search by my self, and find how to fix it, but it's not working for me.
I tried many things like these :
change the my.ini file (=>
run these commandes into my mysql console (=>
But nothing works when i show my variables in mysql console. 😉
I tried many things like these :
change the my.ini file (=>
max_allowed_packet=100M)run these commandes into my mysql console (=>
set global net_buffer_length=1000000; set global max_allowed_packet=1000000000)But nothing works when i show my variables in mysql console. 😉
2 Replies
@Savannah Hey guys, i got this error when trying to upload an heavy file in my localhost application. Before posting this message, i search by my self, and find how to fix it, but it's not working for me.
I tried many things like these :
change the my.ini file (=> `max_allowed_packet=100M`)
run these commandes into my mysql console (=> `set global net_buffer_length=1000000;` `set global max_allowed_packet=1000000000`)
But nothing works when i show my variables in mysql console. 😉
Please do not bump more than once per day. Do not bump then delete either.
@joulev Please do not bump more than once per day. Do not bump then delete either.
SavannahOP
Okay, sorry about that