if(redhat){
        Fear RPM install's
} else {
        ./mysqladmin -uroot -hlocalhost password rrrr
}




Farzad Faramarzi wrote:
> 
> Hi
> I tried to set the password to mysql by using mysqladmin
> and I received the following error message
> -----------------------------------------------------
> ./mysqladmin -u root password rrrr
> ./mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (111)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
> ---------------------------------------------------
> 
> I checked if mysql is running and it does, as you can see here
> 
> -------------------
> [root@c-dffd70d5 bin]# ps -d
>    PID TTY          TIME CMD
>    677 ?        00:00:00 safe_mysqld
>    704 ?        00:00:00 mysqld
>    708 ?        00:00:00 mysqld
>    709 ?        00:00:00 mysqld
>   1030 pts/1    00:00:00 bash
>   1054 pts/1    00:00:00 ssh
>   1055 ?        00:00:00 sshd2
>   1086 pts/2    00:00:00 ps
> ------------------------
> 
> God, please help me! What am I doing wrong???
> 
> Thanx
> Farzad
> 
> ---------------------------------------------------------------------
> 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

Reply via email to