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
5,172
Replies
0
Views
1,519
Replies
3
Views
1,543
Newer Threads
Replies
5
Views
3,705
Replies
0
Views
1,174
Replies
2
Views
4,054
Latest Threads
Replies
1
Views
26
Replies
0
Views
188
Replies
1
Views
40
Replies
2
Views
83

Latest postsNew 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