Max_allowed_packet size for MySQL in Plesk?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
535
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
10,281
Replies
0
Views
2,349
Replies
3
Views
2,859
Newer Threads
Replies
5
Views
4,716
Replies
0
Views
1,757
Replies
2
Views
5,945
Latest Threads
Replies
1
Views
1,350
Replies
3
Views
1,130
Replies
1
Views
718
Replies
2
Views
1,302
Replies
1
Views
877

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