| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Jonathan Wakely | Date: | June 10 2010 3:58pm |
| Subject: | Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | ||
| View as plain text | |||
Is the /var/lib/mysql/mysql.sock path hardcoded into your app, or given to it via a config file? The path could have changed due to the upgrades, so the app is trying to connect with the wrong path. Or an upgrade could have disabled the unix socket, so you need to conenct via TCP. Try to determine how the command line client connects.
| Thread | ||
|---|---|---|
| • Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Leonty Belskiy | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Mengmeng Zhang | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Mengmeng Zhang | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Leonty Belskiy | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Jonathan Wakely | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Leonty Belskiy | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | Leonty Belskiy | 10 Jun |
| • Re: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2) | Warren Young | 14 Jun |
