At 10:04 -0800 3/17/04, ryan@stripped wrote:
>(newbie warning)
>Hi,
>I just removed 3.23 and installed 4 (the first time I have done an
>installation.) as per the docs I then tried to make a password for
>"root" and ran this from SSH root:
>
># /usr/bin/mysqladmin -u root password 'jman77'
>
>but got this a reply:
>
>/usr/bin/mysqladmin: connect to server at 'localhost' failed
>error: 'Can't connect to local MySQL server through socket
>'/var/lib/mysql/mysql.sock' (2)'
>Check that mysqld is running and that the socket:
>'/var/lib/mysql/mysql.sock' exists!
>
>Why is that? what should I do?
Check that mysqld is running. That's the kind of error you get if the
server isn't running.
It may also be that it's running, but the MySQL 4 server is using a different
socket file than your old 3.23 server.
--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com
MySQL Users Conference: April 14-16, 2004
http://www.mysql.com/uc2004/