Re: mysql.sock

2002-02-11 Thread Joe Villari

>When I try to connect to the mysql server (mysql -u root -p ),
>I get an error about /tmp/mysql.sock.
>
>Anyway, what is the problem here?  Do I have to take it down and start
>it up again?  I'm pretty sure the problem is that the file has been
>deleted, probably a cron job, but I can't remember the fix.  Tried
>touching it to make it exist again, but of course no go.
>
>(And a pointer to the documentation would be welcomed, too...)
 
What does the mysqld.log file say? If the mysql.sock is gone, 
stopping (killing) mysqld and then starting it again will fix it.

Joe


-
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




Re: mysql.sock

2002-02-05 Thread Joe Villari

>When I try to connect to the mysql server (mysql -u root -p ),
>I get an error about /tmp/mysql.sock.
>
>Anyway, what is the problem here?  Do I have to take it down and start
>it up again?  I'm pretty sure the problem is that the file has been
>deleted, probably a cron job, but I can't remember the fix.  Tried
>touching it to make it exist again, but of course no go.
>
>(And a pointer to the documentation would be welcomed, too...)
 
What does the mysqld.log file say? If the mysql.sock is gone, 
stopping (killing) mysqld and then starting it again will fix it.

Joe


-
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




Help with MySQL: Bind on unix socket error

2002-02-04 Thread Joe Villari

I'm hoping I can get some help here, I'm trying to get MySQL running 
on YellowDog Linux 2.4.17 kernel. I've installed the mysql, 
mysql-server and mysql-devel-3.23.32-1.7a rpms from my install CD. 
Ran mysql_install_db then changed the group and owner on 
/var/lib/mysql to root.

This is what shows up in my mysqld.log after trying to run mysql_safed

020204 16:19:56 mysqld started
020204 16:19:56 Can't start server: Bind on unix socket: Permission denied
020204 16:19:56 Do you already have another mysqld server running on 
socket: /var/lib/mysql/mysql.sock?
020204 16:19:56 Aborting

020204 16:19:56 mysqld ended

There is no mysql.sock on the machine nor is there a mysqld server running.

Any Ideas?

Thanks
Joe

-
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