Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 38: Line 38:     
===Start/Stop MySQL===
 
===Start/Stop MySQL===
{{Note box|This part needs the addition of specifying the socket file, for ''/var/lib/mysql/mysql.sock'' is already in use by the default version of MySQL on SME Server. /opt/rh/mysql55/root/etc/my.cnf has the socket file.<br>
+
{{Note box|Before MySQL can be started, the socket file defined in '''/opt/rh/mysql55/root/etc/my.cnf''' has to be adjusted for it is the same as the default installation of MySQL. The correct 3rd line should read '''socket=/var/lib/mysql/mysql55.sock'''.<br>
 
How to connect to mysql55, for using 'mysql' will invoke the CLI of the standard MySQL version and not the scl version. Not even when trying to start /opt/rh/mysql55/bin/mysql, it will invoke the 'old' MySQL.}}  
 
How to connect to mysql55, for using 'mysql' will invoke the CLI of the standard MySQL version and not the scl version. Not even when trying to start /opt/rh/mysql55/bin/mysql, it will invoke the 'old' MySQL.}}  
 
MySQL is now installed and can be started and stopped manually via:
 
MySQL is now installed and can be started and stopped manually via:

Navigation menu