Hi! I'm not very used to php but its in php.ini :
mysql.default_socket EG ----- Original Message ----- From: "Dennis Peyerl" <[EMAIL PROTECTED]> To: "Me&" <[EMAIL PROTECTED]> Cc: "mysql" <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 1:00 PM Subject: Re: New Problem with LAMP (CORRECTION) > Thank you very much > it workes now. > > > Could you tell me, how come, that the search-path points to /tmp/mysql.sock? > I've just created a link, but isn't it possibly to change the apache of > trying to connect to /tmp/mysql.sock? > > thnax > dcp > > Me& wrote: > > >Correction! > > > >Look for the line socket in the [mysqld] section! > > > >EG > > > > > > > >Hi! > > > >Check your my.cnf file for the line : > > > >socket = <path to sock> > > > >Then change the path to /tmp/mysql.sock or create a symbolic link > >/tmp/mysql.sock to the path that was inthere. > > > >Restart mysql and that should get you going. > > > >EG > > > > > > --------------------------------------------------------------------- > 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