If you did not shutdown the server prior to the upgrade, you could have
left mysqld running, even after its socket was removed.
Use ps to see if mysqld is still running, and kill it if necessary.
Todd O'Bryan 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)
>
> Any ideas?
>
> Thanks,
> Todd
>
>