List:General Discussion« Previous MessageNext Message »
From:yoku ts. Date:May 4 2014 9:25am
Subject:Re: Why MySQL-server-5.5.37 install fail?
View as plain text  
Hello,

mysqladmin and mysql command-line client is included in MySQL-client
package.
mysql_secure_installation is included in MySQL-server but it's a perl
script which calls mysql command-line client internally.

Thus, you should install MySQL-client-*.rpm and try again.

Regards,



2014-05-04 15:29 GMT+09:00 EdwardKing <zhangsc@stripped>:

> I'm newbie to mysql and I  want to install mysql under Centos 5.8 using
> MySQL-server-5.5.37-1.linux2.6.i386.rpm, I use following command to intall
> mysql
>
> #[root@master software]# rpm -ivh MySQL-server-5.5.37-1.linux2.6.i386.rpm
> Preparing...                ###########################################
> [100%]
>    1:MySQL-server           ###########################################
> [100%]
>
> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
> To do so, start the server, then issue the following commands:
>
> /usr/bin/mysqladmin -u root password 'new-password'
> /usr/bin/mysqladmin -u root -h master password 'new-password'
>
> Alternatively you can run:
> /usr/bin/mysql_secure_installation
>
> which will also give you the option of removing the test
> databases and anonymous user created by default.  This is
> strongly recommended for production servers.
>
> See the manual for more instructions.
>
> Please report any problems at http://bugs.mysql.com/
>
> Then I use following command:
>
> [root@master bin]# pwd
> /usr/bin
> [root@master bin]# /usr/bin/mysqladmin -u root password '123456'
> bash: mysqladmin: command not found
>
> [root@master bin]# ls mysqladmin
> ls: mysqladmin: No such file or directory
>
> [root@master bin]# mysql_secure_installation
> Can't find a 'mysql' client in PATH or ./bin
>
> How to install mysql and start mysql? Why are the commands of  mysqladmin
> and mysql_secure_installation fail?  I am puzzled with it for many days, I
> still can't find a solution. Anyone could help me?  Thanks.
>
> Thanks.
>
>
>
>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
>  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
>
> ---------------------------------------------------------------------------------------------------
>

Thread
Why MySQL-server-5.5.37 install fail?EdwardKing4 May 2014
  • Re: Why MySQL-server-5.5.37 install fail?yoku ts.4 May 2014
  • Re: Why MySQL-server-5.5.37 install fail?Reindl Harald4 May 2014