package mariadb-server is not installed

General support questions
Post Reply
xo)mora
Posts: 58
Joined: 2017/01/13 20:52:59

package mariadb-server is not installed

Post by xo)mora » 2019/01/14 05:17:30

Hi I'm very confuse because I had been install Mariadb in centos 7 but I couldn't use it:

# yum install mariadb-server
.
.
.
file /usr/share/mysql/fill_help_tables.sql from install of MariaDB-server-10.1.37-1.el7.centos.x86_64 conflicts with file from package mysql-community-server-5.6.42-2.el7.x86_64
.
.
.
Error Summary
-------------


# rpm -q mariadb-server
package mariadb-server is not installed

# ps -e | grep mysql
17532 ? 00:00:00 mysqld_safe
17700 ? 00:07:26 mysqld

# systemctl -l status mariadb
Unit mariadb.service could not be found.

# yum info mariadb
Available Packages
Name : mariadb
Arch : x86_64
Epoch : 1
Version : 5.5.60
Release : 1.el7_5
Size : 8.9 M
Repo : base/7/x86_64
Summary : A community developed branch of MySQL
URL : http://mariadb.org
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MariaDB is a community developed branch of MySQL.
: MariaDB is a multi-user, multi-threaded SQL database server.
: It is a client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. The base package
: contains the standard MariaDB/MySQL client programs and generic MySQL files.


# yum info mariadb-server
Available Packages
Name : MariaDB-server
Arch : x86_64
Version : 10.1.37
Release : 1.el7.centos
Size : 104 M
Repo : mariadb
Summary : MariaDB: a very fast and robust SQL database server
URL : http://mariadb.org
License : GPLv2
Description :
:
: It is GPL v2 licensed, which means you can use the it free of charge under the
: conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
:
: MariaDB documentation can be found at https://mariadb.com/kb
: MariaDB bug reports should be submitted through https://jira.mariadb.org

Name : mariadb-server
Arch : x86_64
Epoch : 1
Version : 5.5.60
Release : 1.el7_5
Size : 11 M
Repo : base/7/x86_64
Summary : The MariaDB server and related files
URL : http://mariadb.org
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MariaDB is a multi-user, multi-threaded SQL database server. It is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. This package contains
: the MariaDB server and some accompanying files and directories.
: MariaDB is a community developed branch of MySQL.

Why I saw it with # yum info mariadb and whit # yum info mariadb-server BUT I can't use? Help me please.

Thanks a lot.

Regards
xo)mora

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

Re: package mariadb-server is not installed

Post by TrevorH » 2019/01/14 07:06:38

If you run yum info then you see information about the package that's in the repo not necessarily what's installed on your system. When you attempted to install mariadb-server it told you that it could not do so because you already have mysql-community-server installed. You cannot have both installed at the same time so you need to remove mysql first.
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

xo)mora
Posts: 58
Joined: 2017/01/13 20:52:59

Re: package mariadb-server is not installed

Post by xo)mora » 2019/01/14 16:20:19

Thanks a lot for reply me:

"If you run yum info then you see information about the package that's in the repo not necessarily what's installed on your system. When you attempted to install mariadb-server it told you that it could not do so because you already have mysql-community-server installed. You cannot have both installed at the same time so you need to remove mysql first"

Yes I understood it, so I followed the guide https://linoxide.com/how-tos/install-ma ... -7-cpanel/ for uninstall mysql but I couldn't execute:
3. Remove and uninstall all MySQL rpms from the server
/scripts/update_local_rpm_versions --edit target_settings.MySQL50 uninstalled
-bash: /scripts/update_local_rpm_versions: No such file or directory
/scripts/update_local_rpm_versions --edit target_settings.MySQL51 uninstalled
-bash: /scripts/update_local_rpm_versions: No such file or directory
/scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled
-bash: /scripts/update_local_rpm_versions: No such file or directory
/scripts/update_local_rpm_versions --edit target_settings.MySQL56 uninstalled
-bash: /scripts/update_local_rpm_versions: No such file or directory


Please will you help me? Thanks a lot.

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: package mariadb-server is not installed

Post by stevemowbray » 2019/01/14 16:24:04

Just

Code: Select all

yum remove mysql-community-server

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

Re: package mariadb-server is not installed

Post by TrevorH » 2019/01/14 16:49:12

Following tutorials for cpanel will not work on non-cpanel systems.

Run rpm -qa \*mysql\* to get a list of the packages that install that match that pattern. Pick those you need to remove from that list.
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

xo)mora
Posts: 58
Joined: 2017/01/13 20:52:59

Re: package mariadb-server is not installed

Post by xo)mora » 2019/01/14 17:28:41

Hi, I executed:

# yum remove mysql-community-server
Removed:
mysql-community-server.x86_64 0:5.6.42-2.el7

Complete!

# rpm -qa \*mysql\*
mysql-community-common-5.6.42-2.el7.x86_64
mysql-community-server-5.6.42-2.el7.x86_64
php-mysqlnd-5.6.40-1.el7.remi.x86_64
mysql-community-client-5.6.42-2.el7.x86_64
mysql-community-libs-5.6.42-2.el7.x86_64
mysql-community-release-el7-5.noarch


Now, Will can I install Mariadb?

Thanks a lot.

xo)mora
Posts: 58
Joined: 2017/01/13 20:52:59

Re: package mariadb-server is not installed

Post by xo)mora » 2019/01/14 18:03:03

I did :)

THANKS A LOT.

Regards.
xo)mora

Post Reply