Max_allowed_packet size for MySQL in Plesk?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
I have recently install a Plesk web admin to use for my websites in the near future but my website requires to set a custom Max_allowed_packet size for MySQL which I can do with Apache and cPanel. I am still new to Plesk, how can I set max_allowed_packet size for MySQL in Plesk?
 

24x7serverman

Well-known member
Hosting Provider
Registered
Joined
Jul 25, 2017
Messages
651
Points
28
Define the below line in the /etc/my.cnf-

max_allowed_packet= size in MB that is if you would like to define it as 4mb then it will be as below -
max_allowed_packet=4M


Once done then restart the MySQL service. Please do not touch the MySQL configuration file, if you are not familiar with it, ask any of the technical administrator to do it for you.
 
Older Threads
Replies
8
Views
4,499
Replies
0
Views
1,312
Replies
3
Views
1,326
Newer Threads
Replies
5
Views
3,416
Replies
0
Views
977
Replies
2
Views
3,640
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top