Explorar el Código

mysql: add --socket example (#1977)

Niklas Heer hace 7 años
padre
commit
cf59bf0f6d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      pages/common/mysql.md

+ 4 - 0
pages/common/mysql.md

@@ -14,6 +14,10 @@
 
 `mysql -h {{database_host}} {{database_name}}`
 
+- Connect to a database through a Unix socket:
+
+`mysql --socket {{path/to/socket.sock}}`
+
 - Execute SQL statements in a script file (batch file):
 
 `mysql {{database_name}} < {{script.sql}}`