List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:May 4 2014 9:27am
Subject:Re: Why MySQL-server-5.5.37 install fail?
View as plain text  

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: [application/pgp-signature] OpenPGP digital signature signature.asc
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