Changes

From SME Server
Jump to navigationJump to search
30 bytes added ,  21:13, 7 October 2017
→‎command line: copy editing for clarity
Line 62: Line 62:  
  mysql57 wordpress
 
  mysql57 wordpress
   −
will connect you to database wordpress in mysql57 server, and let you with the mysql prompt to work.
+
will connect to database wordpress in mysql57 server, and present the mysql prompt so you can work with the database.
      −
However the full command line to access, per instance to mysql57 server with the mysql client agianst its version 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
Line 73: Line 73:  
  /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:
+
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
  
81

edits

Navigation menu