Re: [hangout] mysql help


Subject: Re: [hangout] mysql help
From: Ruben I Safir (ruben@mrbrklyn.com)
Date: Sun Feb 03 2002 - 14:57:05 MST


Remove the mysql.sock

This is SO much easier throiugh Sources code

Ruben

>
> Yesterday, after installing the mysql rpm and running
> mysql_install_db I ran safe_mysqld, I was able to get the mysql
> server running using safe_mysqld -h /var/lib/mysql/mysql/host.frm.
>
> Today, I tried to fix the path problem by mv * /var/lib/mysql/mysql
> /var/lib/mysql. This didn't help. So I did rm -r /var/lib/mysql and
> reran mysql_install_db --datadir=/var/lib. Now when I run safe_mysqld
> I get:
>
> starting mysqld daemon with databases from /var/lib/mysql
> 020203 16:19:56 mysqld ended
>
> The mysqld.log file shows:
>
> 020203 16:19:56 mysqld started
> 020203 16:19:56 Can't start server: Bind on unix socket: Permission denied
> 020203 16:19:56 Do you already have another mysqld server running on
> socket: /var/lib/mysql/mysql.sock?
> 020203 16:19:56 Aborting
>
> 020203 16:19:56 mysqld ended
>
> I don't understand what this means and how do I correct it.
>
> Thanks
> Joe
> ____________________________
> New Yorker Linux Users Scene
> Fair Use -
> because it's either fair use or useless....
>



This archive was generated by hypermail 2a24 : Sun Feb 03 2002 - 15:12:40 MST