Changes

From SME Server
Jump to navigationJump to search
14 bytes added ,  23:51, 8 December 2018
Line 67: Line 67:  
The complete path to the specific version of mysql57 server with the mysql client would be:  
 
The complete path to the specific version of mysql57 server with the mysql client would be:  
   −
  /opt/rh/rh-mysql57/root/usr/bin/mysql  --socket=/var/lib/mysql/mysql57.sock
+
  # /opt/rh/rh-mysql57/root/usr/bin/mysql  --socket=/var/lib/mysql/mysql57.sock
    
or use TCP on port 3309:
 
or use TCP on port 3309:
Line 73: Line 73:  
{{Note box|1=Note see usage details in https://wiki.contribs.org/Software_Collections:MySQL55}}
 
{{Note box|1=Note see usage details in https://wiki.contribs.org/Software_Collections:MySQL55}}
   −
  config setprop mysql57-mysqld port 3309 LocalNetworkingOnly no
+
  # config setprop mysql57-mysqld port 3309 LocalNetworkingOnly no
  config show mysql57-mysqld
+
  # config show mysql57-mysqld
  mysql57-mysqld=service
+
  # mysql57-mysqld=service
 
     LocalNetworkingOnly=no
 
     LocalNetworkingOnly=no
 
     port=3309
 
     port=3309
 
     status=enabled
 
     status=enabled
  signal-event post-upgrade; signal-event reboot
+
  # signal-event post-upgrade; signal-event reboot
   −
  /opt/rh/mysql55/root/usr/bin/mysql --protocol=TCP --port=3309
+
  # /opt/rh/mysql55/root/usr/bin/mysql --protocol=TCP --port=3309
    
Note that using the regular 5.1 client may work, but can lead to unexpected results. Please avoid this type of command invocation:
 
Note that using the regular 5.1 client may work, but can lead to unexpected results. Please avoid this type of command invocation:
   −
  mysql  --socket=/var/lib/mysql/mysql57.sock
+
  # mysql  --socket=/var/lib/mysql/mysql57.sock
    
== Resetting the MySQL root password ==
 
== Resetting the MySQL root password ==

Navigation menu