Check your permissions in /usr/local/mysql, I think the package leaves
some incorrectly set.
The exact problem is usually logged in
/usr/local/mysql/data/<hostname>.err this file is invaluable
Cheers!
--s
On Wednesday, July 2, 2003, at 09:24 AM, Todd O'Bryan wrote:
> OK. I've verified that no mysqld is running using Egor's command from
> below, and
> by using netstat (which someone else suggested) there is nothing
> listening on port 3306.
>
> Any new ideas?
>
> Thanks,
> Todd
>
> On Wednesday, July 2, 2003, at 09:51 AM, Egor Egorov wrote:
>
>> "Todd O'Bryan" <toddobryan@stripped> wrote:
>>> Something bad has happened. MySQL was up and running on my machine,
>>> but
>>> now it's not and I have a chicken and egg problem that I can't seem
>>> to
>>> solve...
>>>
>>> I uninstalled any old versions of MySQL and I'm using the package
>>> installer of version 4.0.13 on Mac OS 10.2.6.
>>>
>>> When I "cd /usr/local/" and "sudo ./bin/mysqld_safe" I get the
>>> following:
>>>
>>> Starting mysqld daemon with databases from /usr/local/mysql/data
>>> 030702 08:43:04 mysqld ended
>>>
>>> So, I check the log and here's what it says:
>>>
>>> 030702 08:43:04 mysqld started
>>> 030702 8:43:04 Can't start server : Bind on unix socket: Permission
>>> denied
>>> 030702 8:43:04 Do you already have another mysqld server running on
>>> socket: /tmp/mysql.sock ?
>>> 030702 8:43:04 Aborting
>>>
>>> 030702 8:43:04 /usr/local/mysql/bin/mysqld: Shutdown Complete
>>>
>>> 030702 08:43:04 mysqld ended
>>>
>>> But, I'm pretty sure nothing's running because /tmp/mysql.sock
>>> doesn't
>>> exist and when I run mysql I get:
>>>
>>> ERROR 2002: Can't connect to local MySQL server through socket
>>> '/tmp/mysql.sock' (2)
>>
>> Check with
>> ps ax| grep mysqld
>>
>> if mysqld is running. If mysqld is running, find mysql.sock file.
>>
>>
>>
>> --
>> For technical support contracts, goto
>> https://order.mysql.com/?ref=ensita
>> This email is sponsored by Ensita.net http://www.ensita.net/
>> __ ___ ___ ____ __
>> / |/ /_ __/ __/ __ \/ / Egor Egorov
>> / /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
>> /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
>> <___/ www.mysql.com
>>
>>
>>
>>
>> --
>> MySQL General Mailing List
>> For list archives: http://lists.mysql.com/mysql
>> To unsubscribe:
>> http://lists.mysql.com/mysql?unsub=1
>>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
>