List:General Discussion« Previous MessageNext Message »
From:Richard Reina Date:April 9 1999 4:25pm
Subject:Re: problems starting server
View as plain text  
Chris, 

I know very little about MySQL -- or linux -- but I had the same problem
you are having and fixed it the following way.

>MYSQL_UNIX_PORT=/var/lib/mysql/mysql.sock
>MYSQL_TCP_PORT=3307
>export MYSQL_UNIX_PORT MYSQL_TCP_PORT
>mysql_install_db

I found this solution in section 4.15.1 of the MySQL manual

good luck,

Richard

Chris wrote:
> 
> I'm having a problem starting the mysqld server...I'm using the redhat rpm
> version of MySQL-3.22.15-gamma-1. I get the following error in the error
> log for mysql:
> 
> ------------
> 
> mysqld started on  Wed Apr 7 12:58:21 EDT 1999
> 990407 12:58:21  Can't start server : Bind on unix socket: Permission denied
> 990407 12:58:21  Do you already have another mysqld server running on socket:
> /var/lib/mysql/mysql.sock ?
> 990407 12:58:21  Aborting
> 
> mysqld ended on  Wed Apr 7 12:58:21 EDT 1999
> 
> ------------
> 
> I'm trying to start using the provided rc script as root. The strange
> thing is that /var/lib/mysql/mysql.sock does not exist!
> 
> Is it possible that a socket is still bound to the port that mysql uses
> even though no server is running? If so, how do I fix this problem?
> 
> --Chris
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread1496@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
Thread
problems starting serverChris7 Apr
  • Re: problems starting serverRichard Reina9 Apr