Starting with H-Sphere 2.5.0 MySQL servers have predefined socket location,
set in /etc/my.cnf conf file (permissions for /etc/my.conf are changed to "readable for all"), which are:
User's php web applications can locate this socket, because it's
set in php.ini file:
User's perl web applications can locate this socket too, because during H-Sphere update, DBD::mysql driver, located in system pathes (/usr/lib/....) is patched by adding the following string to a corresponding perl module:
$dsn .= ";mysql_read_default_file=/etc/my.cnf";
Though if you decide to update DBD::mysql driver or system perl version,
execute the following script after the update of DBD::mysql driver or system perl version:
/hsphere/local/config/mysql/scripts/dbd-mysql-config
|