Changes

From SME Server
Jump to navigationJump to search
Line 38: Line 38:     
===Start/Stop MySQL===
 
===Start/Stop MySQL===
{{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>
+
{{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: ''' <nowiki>socket=/var/lib/mysql/mysql55.sock</nowiki>'''}}
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.}}  
+
 
 +
{{Note box|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:
 
  /etc/rc.d/init.d/mysql55-mysqld start
 
  /etc/rc.d/init.d/mysql55-mysqld start

Navigation menu