List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 24 1999 4:38am
Subject:Re: I can't shut down mySQL.
View as plain text  
At 6:53 PM -0500 4/23/1999, Daevid Vincent wrote:
>[root=ttyp0]3:38pm:{/etc/rc.d/init.d}> ./mysql stop
>Shutting down mysql: /usr/bin/mysqladmin: connect to server at 'localhost'
>error: 'Can't connect to local MySQL server (2)'
>Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock'
>[root=ttyp0]3:38pm:{/etc/rc.d/init.d}> ls /var/lib/mysql/
>cris_cddb/       imp/             test/    wt_client/
>horde/           mysql/           wildtangent.err  wt_api/

Perhaps mysqld isn't running?

Assuming it is, perhaps you're on a system that uses MIT-pthreads, which
doesn't support UNIX domain sockets.  Try shutting down mysqld using
"mysqladmin -h hostname -u root -p shutdown", where "hostname" is the
name of your host, to use a TCP/IP connection explicitly.  ("-p" with
no password immediately following will cause mysqladmin to prompt you
for the root password.)

Paul DuBois, paul@stripped
Northern League Chronicles:
AUTO_INCREMENT Limit?Ben Kirkpatrick24 Apr
  • Re: AUTO_INCREMENT Limit?Paul DuBois24 Apr
    • I can't shut down mySQL.Daevid Vincent24 Apr
      • Re: I can't shut down mySQL.Paul DuBois24 Apr
    • this listtaubin24 Apr
    • Re: this listFred Read26 Apr
    • Re: I can't shut down mySQL.Daevid Vincent26 Apr
      • Re: I can't shut down mySQL.Michael Widenius27 Apr
    • Re: I can't shut down mySQL.Sasha Pachev27 Apr
  • Re: AUTO_INCREMENT Limit?Thimble Smith24 Apr