On my serverl severall sites are running for a year now. This day i add a new user with a new domain, no problem at this point.
I have uploaded a script and then i get this error:
Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have search on this forum and found some informations but no go at the moment :-(
All running sites on the server works and everything seems to be ok with mysql etc... but this new site not.
Who can help me with this problem? os is Debian 5
this is in the /etc/mysql/my.cnf file:
hmmm /etc/my.cnf is allmost empty ? think this is not correct?
I have uploaded a script and then i get this error:
Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have search on this forum and found some informations but no go at the moment :-(
All running sites on the server works and everything seems to be ok with mysql etc... but this new site not.
Who can help me with this problem? os is Debian 5
this is in the /etc/mysql/my.cnf file:
Code:
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking
hmmm /etc/my.cnf is allmost empty ? think this is not correct?
Code:
[mysqld]
local-infile=0
Last edited: