2002 can't connect to mysql server

Status
Fechado a novas mensagens.

JPCarvalhinho

Power Member
Que estupidez... já estou farto de arrancar o cabelo...

O meu portátil tem o mysql a trabalhar

Connection id: 236
Current database: testar
Current user: queriam_saber_nao_era@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.0.41 MySQL Community Server (GPL)
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
UNIX socket: /tmp/mysql.sock
Uptime: 4 hours 6 min 17 sec


Consigo ligar-me via terminal e trabalhar no mysql e este é o output do "status"...
Correctamente ligado no host "localhost" com o username X
mas via Apache não vou a lado nenhum... a não ser a uma página de erro
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

OK... situação resolvida, mas continuo sem conseguir criar a ligação... além disso apaguei o meu backup :(
 
Última edição:
Status
Fechado a novas mensagens.
Back
Topo