Discover Centmin Mod today
Register Now

MariaDB MySQL Error?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Guneyd, Jun 1, 2014.

  1. Guneyd

    Guneyd New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +2
    Local Time:
    12:59 AM
    I got a new server today (first time with Online.net) and I figured I'd install Centminmod on it. For the first time however, I didn't get a prompt screen for the MariaDB install and after the installation I kept running into MySQL errors (socket not found). Basically, MariaDB wasn't installed, so following the advice from a different topic here, I typed 'yum clean all' into console. Followed by 'yum install mysql'.

    This is what I got:
    Code:
    [root@lapqserver centmin-v1.2.3mod]# service mysqld start
    mysqld: service non reconnu
    [root@lapqserver centmin-v1.2.3mod]# yum install mysql
    Loaded plugins: downloadonly, fastestmirror, priorities, security
    Loading mirror speeds from cached hostfile
    * base: centos.quelquesmots.fr
    * epel: mirrors.ircam.fr
    * extras: centos.quelquesmots.fr
    * rpmforge: miroir.univ-paris13.fr
    * updates: centos.quelquesmots.fr
    1544 packages excluded due to repository priority protections
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package MariaDB-client.x86_64 0:5.2.14-122.el5 will be updated
    ---> Package MariaDB-client.x86_64 0:5.5.37-1.el6 will be an update
    --> Processing Dependency: MariaDB-common for package: MariaDB-client-5.5.37-1.el6.x86_64
    --> Running transaction check
    ---> Package MariaDB-common.x86_64 0:5.5.37-1.el6 will be installed
    --> Processing Dependency: MariaDB-compat for package: MariaDB-common-5.5.37-1.el6.x86_64
    --> Running transaction check
    ---> Package MariaDB-compat.x86_64 0:5.5.37-1.el6 will be obsoleting
    ---> Package mysql-libs.x86_64 0:5.1.71-1.el6 will be obsoleted
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch          Version               Repository      Size
    ================================================================================
    Installing:
    MariaDB-compat        x86_64        5.5.37-1.el6          mariadb        2.7 M
         replacing  mysql-libs.x86_64 5.1.71-1.el6
    Updating:
    MariaDB-client        x86_64        5.5.37-1.el6          mariadb         10 M
    Installing for dependencies:
    MariaDB-common        x86_64        5.5.37-1.el6          mariadb         23 k
    
    Transaction Summary
    ================================================================================
    Install       2 Package(s)
    Upgrade       1 Package(s)
    
    Total download size: 13 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/3): MariaDB-5.5.37-centos6-x86_64-client.rpm          |  10 MB     00:05
    (2/3): MariaDB-5.5.37-centos6-x86_64-common.rpm          |  23 kB     00:00
    (3/3): MariaDB-5.5.37-centos6-x86_64-compat.rpm          | 2.7 MB     00:00
    --------------------------------------------------------------------------------
    Total                                           2.0 MB/s |  13 MB     00:06
    Running rpm_check_debug
    Running Transaction Test
    
    
    Transaction Check Error:
      file /usr/lib64/libmysqlclient.so.15.0.0 from install of MariaDB-compat-5.5.37-1.el6.x86_64 conflicts with file from package MariaDB-shared-5.2.14-122.el5.x86_64
      file /usr/lib64/libmysqlclient.so.16.0.0 from install of MariaDB-compat-5.5.37-1.el6.x86_64 conflicts with file from package MariaDB-shared-5.2.14-122.el5.x86_64
      file /usr/lib64/libmysqlclient_r.so.15.0.0 from install of MariaDB-compat-5.5.37-1.el6.x86_64 conflicts with file from package MariaDB-shared-5.2.14-122.el5.x86_64
      file /usr/lib64/libmysqlclient_r.so.16.0.0 from install of MariaDB-compat-5.5.37-1.el6.x86_64 conflicts with file from package MariaDB-shared-5.2.14-122.el5.x86_64
    
    Error Summary
    -------------
    
    Would a fresh install fix this problem? I was using the latest stable release by the way.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,605
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    9:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    To troubleshoot install issues it's best to get the initial install log outlined at http://community.centminmod.com/threads/how-to-troubleshoot-centmin-mod-initial-install-issues.102/

    You shouldn't use yum install mysql as they is for non-MariaDB MySQL (Oracle MySQL).

    commands for MariaDB update are located at http://centminmod.com/mysql.html

    You might have run into CentALT bug if you using .06 stable version http://community.centminmod.com/threads/centalt-bug-confirmed.98/. The full fix is only in .07 beta right now. Hence, why I am moving up the timetable for .07 beta to stable status with more .07 beta testing called for at http://community.centminmod.com/threads/centmin-mod-07-beta-21-to-stable-status.124/.

    You might want to reload a fresh CentOS install, and try the latest .07 beta 21 http://community.centminmod.com/threads/centmin-mod-07-beta-21-to-stable-status.124/ instead :)
     
  3. Guneyd

    Guneyd New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +2
    Local Time:
    12:59 AM
    Hmm.. thank you for the reply! I'll give .07 beta 21 a shot ;)