• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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