[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connexion à mysql



Salut,

Question classique pour ce genre de pb :
tu as regardé du coté du skip-networking ?

Sylvestre

Le mar 31/08/2004 à 18:22, Vincent BRIET a écrit :
> Bonjour,
> 
> j'ai un problème de connexion à un serveur mysql, le serveur fonctionne 
> bien (à première vue) :
> 
> mysqladmin --socket=/var/run/mysqld/mysqld.sock version -u user 
> --password=password
> mysqladmin  Ver 8.23 Distrib 3.23.49, for pc-linux-gnu on i686
> Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to modify and redistribute it under the GPL license
> 
> Server version          3.23.49-log
> Protocol version        10
> Connection              Localhost via UNIX socket
> UNIX socket             /var/run/mysqld/mysqld.sock
> Uptime:                 76 days 23 hours 58 min 21 sec
> 
> Threads: 1  Questions: 6950285  Slow queries: 0  Opens: 1714  Flush 
> tables: 1  Open tables: 60 Queries per second avg: 1.045
> 
> par contre lorsque postfix-mysql essaye de se connecter avec le même 
> user/password cela ne fonctionne pas et me renvois :
> 
> postfix/trivial-rewrite[14353]: warning: connect to mysql server 
> localhost: Can't connect to local MySQL server through socket 
> '/var/run/mysqld/mysqld.sock' (2)
> 
> Quelqu'un aurait une idée d'ou cela pourrait venir ?
> 
> Vincent.
> 



Reply to: