• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

how make different MySQL settings for customers? (strict mode)

PietroV.

New Pleskian
Hi!

We are running Plesk 12.0.18 with MySQL (Server Version: 5.5.33-MariaDB - openSUSE package) on OpenSuSE 13.1

MySQL is running in strict mode and its fine for the most of our customers. But some are trying to run Contenido, thats a CMS, which could work with this mode and we have to disable mysql strict mode.

So my question is:
Is it possible to disable mysql strict mode just for choosen customers?


Thanks!


Best regards
Pietro

Btw: Before I post here, I checked all documentary which is available on odin.com.
 
No, you can only have one strict-mode-setting in a MySQL - instance. But you could install a second MySQL - server, which you can use to run with the desired setting on another port.
 
Hi!

Thanks for your reply. I have something already feared, but did not want to admit.
So, I have to install a new MySQL Server (instance), just for those customers.

Thanks for help. If someone have another idea, please feel free to tell us!

best regards
 
Actually, it IS possible... as I just found out... you could tell the MySQL - Server over the database - connector, to choose another SQL mode while connecting:

$this->query("SET sql_mode = ''");

This additional setting could be set in: "conlib/db_mysql.inc" , after the connect ( function connect($Database = "", $Host = "", $User = "", $Password = "") { ), in your Contenido installation.
 
Back
Top