Your mysql server is not running my friend! =)
Try /etc/init.d/mysqld start <-- this should be able to turn it on!
You can not change the passwords with the server off
Best Regards
On Wed, 2004-03-17 at 14: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?
>
> Please explain in steps coz am just trying to get the hang of this.
>
> Thanks,
> -Ryan
--
|...........................................................|
|____ _____ ____ _ |Victor Medina M |
|\ \ \| ____| _ \ / \ |Linux - Java - MySQL |
| \ \ \ _| | |_) / _ \ |Dpto. Sistemas - Ferreteria EPA |
| / / / |___| __/ ___ \ |linux@stripped |
|/_/_/|_____|_| /_/ \_\|Tel: +58-241-8507325 - ext. 325 |
| |Cel: +58-412-8859934 |
| |geek by nature - linux by choice |
|...........................................................|