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
7,284
Replies
0
Views
2,026
Replies
3
Views
2,286
Newer Threads
Replies
5
Views
4,490
Replies
0
Views
1,626
Replies
2
Views
5,205
Latest Threads
Replies
2
Views
184
Replies
1
Views
984
Replies
2
Views
741
Recommended Threads
Replies
6
Views
4,502
Replies
8
Views
4,712
Replies
10
Views
5,227
Replies
12
Views
4,730

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