Can't find mariadb after yum install

Issues related to applications and software problems
Post Reply
liubl
Posts: 3
Joined: 2014/07/21 07:27:37

Can't find mariadb after yum install

Post by liubl » 2014/07/21 09:01:29

Hi,

I installed mariadb using

Code: Select all

[root@localhost /]#yum install mariadb
but I can't locate any mariadb instance using locate. It's only shows the doc position, I can't find mariadb program.

Code: Select all

[root@localhost /]# rpm -qa |grep mariadb
mariadb-5.5.37-1.el7_0.x86_64
mariadb-libs-5.5.37-1.el7_0.x86_64

[root@localhost /]# locate mariadb
/etc/ld.so.conf.d/mariadb-x86_64.conf
/usr/share/doc/mariadb-5.5.35
/usr/share/doc/mariadb-libs-5.5.35

[root@localhost /]# rpm -qa|grep mysql
mysql-connector-odbc-5.2.5-6.el7.x86_64
I don't think this is correct, does anyone experience it?

And any start command does't work like:

service mariadb start
service mysqld start

They don't work.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't find mariadb after yum install

Post by TrevorH » 2014/07/21 09:57:58

The locate command uses a database that's only updated once a day, overnight. Use rpm -ql $packagename to get a list of the files in a package.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
centminmod
Posts: 44
Joined: 2014/07/12 14:28:06
Location: Brisbane, Australia
Contact:

Re: Can't find mariadb after yum install

Post by centminmod » 2014/07/22 09:59:02

just update the database after install

Code: Select all

yum -y install mariadb
updatedb
locate mariadb

igsmigs88
Posts: 29
Joined: 2014/07/23 20:46:29

Re: Can't find mariadb after yum install

Post by igsmigs88 » 2014/07/24 07:59:50

systemctl start mariadb.service and systemctl enable mariadb.service if u wont that service run when u boot

Greg_E
Posts: 143
Joined: 2014/04/04 18:53:45

Re: Can't find mariadb after yum install

Post by Greg_E » 2014/07/24 15:01:24

And then you can still get into it as mysql. Did you set it up with mysql_secure_installation ?

Post Reply