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,208
Replies
0
Views
2,329
Replies
3
Views
2,830
Newer Threads
Replies
5
Views
4,684
Replies
0
Views
1,739
Replies
2
Views
5,887
Latest Threads
Replies
1
Views
653
Replies
3
Views
634
Replies
1
Views
548
Replies
2
Views
1,146
Replies
1
Views
756
Recommended Threads
Replies
15
Views
8,665
Replies
28
Views
18,645
Replies
10
Views
14,615
Replies
5
Views
5,229

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