Am 04.05.2014 08:29, schrieb EdwardKing:
> 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%]
> 
> [root@master bin]# pwd
> /usr/bin
> [root@master bin]# /usr/bin/mysqladmin -u root password '123456'
> bash: mysqladmin: command not found

because you are only installing the server and not the clients packages
RTFM or just use your distributions packages which would have pulled
"mysql" by dependencies because the server makes little sense without
the tools for a basic setup

[root@hosting:~]$ rpm -q --file /usr/bin/mysqladmin
mariadb-5.5.35-3.el7.x86_64

[root@hosting:~]$ rpm -q --file /usr/libexec/mysqld
mariadb-server-5.5.35-3.el7.x86_64





Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to