TeKtOn

MySQL connection error 본문

Computers/Linux

MySQL connection error

Dr.TeKtOn 2006. 3. 14. 03:59
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)

Check where the 'mysql.sock' is, and change 'mysql.default_socket' setting in the /etc/php.ini file.

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysql.default_socket = /tmp/mysql.sock

Restart the webserver daemon.

'Computers > Linux' 카테고리의 다른 글

SSH X forwarding  (0) 2006.04.06
localtime - zoneinfo (for Gentoo)  (0) 2005.11.26
MX500  (0) 2005.11.25