I had a weird problem similar to this on an older version of Red Hat. Debuging init.d etc... I found that the socket was being created in one location and mysql was trying to use it in a different location.... The process of launching is kinda complicated, so rather then spend a whole bunch of time isolating this (could not find anything obvious...)
I solved the problem by creating a config file to explicitly set the socket path and made sure my config file was the last one looked at... Hope this Helps, -- Erik ----- Original Message ----- From: "Gurhan Ozen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "MySql" <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 4:00 PM Subject: RE: Installing / Running > How did you try to connect it??? IS your mysql server running? If yes is the > mysql.sock location correct? > > Gurhan > > -----Original Message----- > From: Glenn Hancock [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 4:48 PM > To: MySql > Subject: Installing / Running > > > I have installed MySQL on my RH Linux 7.3 box. I am trying to use it with > the Apache web server but haven't gotten that far. I downloaded the source > version because I am new to Linux and felt that I would understand better > where everything was as far as the files and source code. > > The original attempt was to install the rpm file and it did so without a > problem. However, when I started going through some testing I couldn't find > some of the files I needed so I opted to install the source. The reason I > mention this is just in case that might be a problem. > > I have MySQL installed in the /usr/local/mysql folder and everything appears > to have compiled and installed just fine. All tasks listed on your website > for installing the source worked without an issue until I get to the part > where I am actually testing it. > > Starting the server seems to work as I have the processes running, however, > when I attempt to connect to the server in any way (and this happened with > the rpm and the source) I receive a message stating the following: > > Can't connect to local MySQL server through socket 'tmp/mysql.sock' (2) > > Can anyone tell me what I have done wrong and what I need to do in order to > get the database server operational? > > Thanks in advance, > > Glenn Hancock > > -glenn hancock > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > SofTek Software Int'l, Inc. > www.softeksoftware.com <http://www.softeksoftware.com> > 678-583-8439 > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php