Powered By Blogger

terça-feira, 23 de fevereiro de 2010

mysql.sock

Para descobrir o arquivo de socket usado pelo mysql entrar no console

xxx:home xxx$ mysql

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.37 MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

executar o comando status

mysql> status
--------------
mysql Ver 14.14 Distrib 5.1.37, for xxxxxxxxx using readline 5.1

Connection id: 2
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.1.37 MySQL Community Server (GPL)
Protocol version: 10
Connection: Localhost via UNIX socket
Client characterset: latin1
Server characterset: latin1
UNIX socket: /tmp/mysql.sock
Uptime: 3 hours 41 min 47 sec

Threads: 1 Questions: 8 Slow queries: 0 Opens: 15 Flush tables: 1 Open tables: 8 Queries per second avg: 0.0
--------------


Nenhum comentário:

Postar um comentário