Changes

From SME Server
Jump to navigationJump to search
m
Added instructions for accessing mysql55 from command line; removed note box
Line 61: Line 61:  
pid-file=/opt/rh/mysql55/root/var/run/mysqld/mysqld.pid
 
pid-file=/opt/rh/mysql55/root/var/run/mysqld/mysqld.pid
 
</nowiki>
 
</nowiki>
 +
 +
===mysql command line access===
 +
To access the new instance of mysql from the command line you need to specify the appropriate connect string in the command line, using one or the other of these:
 +
 +
mysql --socket=/var/lib/mysql/mysql55.sock
 +
    
===Start/Stop MySQL===
 
===Start/Stop 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