• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

modify max_connections

B

baako

Guest
Hi,

May I ask how do I modify the max_connections of mysql in Plesk 8?

Furthermore, any suggestion on how large should i set this value for 1G RAM? Thanks

Regards,
Baako
 
Try the following within /etc/my.cnf

[mysqld]
set-variable = max_connections=500

Change the 500 with the value you want

Then restart mysql
 
Thanks a lot Zella :)

However, I do not have the file (my.cnf) under /etc. Should I create one myself?

Just FYI

- I am using Plesk 8 under FreeBSD 6
- My other server (Redhat and FC) do have such file under /etc/, but not on my Plesk 8 FreeBSD 6 server.

Thanks.

Regards,
Baako
 
Seems not installed by default for FreeBSD OS

Then you can try to create this file with all informations you need.

Regards.
 
BUG: Plesk has insufficient maximum mysql connections FreeBSD

FIX: Create /usr/local/psa/mysql/var/my.cnf and increase the maximum connections in the config file. An example of my.cnf would be:

quote:
[mysqld]
set-variable = max_connections=2500

Pulled and revised from JShanley's FreeBSD Plesk Tips post, its not directly related, but solves the issue for FreeBSD.
 
Back
Top