Changes

From SME Server
Jump to navigationJump to search
Line 37: Line 37:     
===Changes to my.cnf configuration file===
 
===Changes to my.cnf configuration file===
Now that the scl version of MySQL is installed, the /opt/rh/mysql55/root/etc/my.cnf configuration file has to be adjusted so that the scl version of MySQL does not interfere with the standard version of MySQL.
+
Now that the scl version of MySQL is installed, the /opt/rh/mysql55/root/etc/my.cnf configuration file has to be adjusted so that the scl version of MySQL does not interfere with the standard version of MySQL. The default port of MySQL is 3306, for the scl version of MySQL we will use port 3307, but this can be any port of your choosing. The default socket file is /var/lib/mysql/mysql.sock, for the scl version of MySQL we will use /var/lib/mysql/mysql55.sock.
 
  −
The default port of MySQL is 3306, for the scl version of MySQL we will use port 3307, but this can be any port of your choosing.
  −
 
  −
The default socket file is /var/lib/mysql/mysql.sock, for the scl version of MySQL we will use /var/lib/mysql/mysql55.sock.
      
/opt/rh/mysql55/root/etc/my.cnf will then be:
 
/opt/rh/mysql55/root/etc/my.cnf will then be:
      
  <nowiki>
 
  <nowiki>
Line 63: Line 58:  
pid-file=/opt/rh/mysql55/root/var/run/mysqld/mysqld.pid
 
pid-file=/opt/rh/mysql55/root/var/run/mysqld/mysqld.pid
 
</nowiki>
 
</nowiki>
      
===Start/Stop MySQL===
 
===Start/Stop MySQL===

Navigation menu