Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 12:49:29 -0500
From:      "John Brooks" <john@day-light.com>
To:        <phil@rootnet.ca>, <freebsd-database@freebsd.org>
Subject:   RE: Mysql: ERROR 2002: Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
Message-ID:  <NHBBKEEMKJDINKDJBJHGCECCNNAC.john@day-light.com>
In-Reply-To: <20040514172738.XMB11251.tomts36-srv.bellnexxia.net@rnsd>

next in thread | previous in thread | raw e-mail | index | archive | help
seems like your problem is that mysqld will not start, in
order to start it must be able to read the files that make
up your databases. the directories that hold these files 
can only be read by the user 'mysql' (look at the directory
permissions). mysql uid is normally '88'. you may have other
problems also, but until you fix this they cannot be addressed

hint:  look at the start up script in /usr/local/etc/rc.d
       to see how to start the daemon as the user 'mysql',
       (file name should be something like 'mysql-server.sh')

--
John Brooks
john@day-light.com 

... 
 kernel: pid 27201 (mysqld), uid 10**: exited on signal 6
 
 (which is a sigabort)
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NHBBKEEMKJDINKDJBJHGCECCNNAC.john>