Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 66: Line 66:  
By default mysql55 uses a socket for connections.
 
By default mysql55 uses a socket for connections.
   −
Depending on your application syntax the socket can be found at like this (localhost can be replaced with 127.0.0.1 if needed):
+
PHP applications that are aware of sockets are few, and most typically try to connect to a port. You will have to craft a way to define the one you want to use for your particular app. Some let you put it in a variable, some will just need you to add it after the hostname or ip (localhost:3309), some will just assume 3306 and just ignore anything else.
    
* localhost:/var/lib/mysql/mysql55.sock
 
* localhost:/var/lib/mysql/mysql55.sock

Navigation menu