Discover Centmin Mod today
Register Now

MariaDB Unable to upgrade mariadb

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by denellum, Mar 29, 2017.

  1. denellum

    denellum Member Premium Member

    79
    19
    8
    May 11, 2016
    Dallas
    Ratings:
    +24
    Local Time:
    5:16 AM
    1.11.10
    10.1.21
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.12
    • PHP Version Installed: 7.0.17
    • MariaDB MySQL Version Installed: 10.1.21
    • When was last time updated Centmin Mod code base ? : Today
    • Persistent Config: None
    I am hitting a brick wall, I've been taking a look at the forums and searching for how to upgrade mariadb to 10.1.22, it seems ive hit a wall. I've tried option 11 in the menu, and a yum update and sadly neither are working :(

    Ps thanks as always everyone
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    8:16 PM
    Nginx 1.13.x
    MariaDB 5.5
    what version of mariadb you are on right now ?

    output for command
    Code (Text):
    mysqladmin ver
    


    same branch mariadb 10.1 updates are done via yum as per MariaDB MySQL - CentminMod.com LEMP Nginx web stack for CentOS
    might need to do a yum clean all before hand
    Code (Text):
    yum clean all
    yum update MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared
    

    if yum update doesn't report an update then that means yum mirrors in your geographic location aren't up to date yet so need time to propagate the updates to those mirrors

    also try mysql restart sometimes, the version isn't reported correctly until after mysql restart after updating.

    verify installed MariaDB mysql version
    Code (Text):
    yum list MariaDB-server
    
     
    Last edited: Mar 29, 2017
  3. denellum

    denellum Member Premium Member

    79
    19
    8
    May 11, 2016
    Dallas
    Ratings:
    +24
    Local Time:
    5:16 AM
    1.11.10
    10.1.21
    Heh... heh... heh... thanks Eva2000. The more I know I guess >_<


    Code:
    [12:47][root@DB01 ~]# mysqladmin ver
    mysqladmin  Ver 9.1 Distrib 10.1.22-MariaDB, for Linux on x86_64
    Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
    
    Server version          10.1.21-MariaDB
    Protocol version        10
    Connection              Localhost via UNIX socket
    UNIX socket             /var/lib/mysql/mysql.sock
    Uptime:                 45 days 11 hours 3 min 17 sec
    
    Threads: 1  Questions: 35516113  Slow queries: 0  Opens: 3183  Flush tables: 1  Open tables: 723  Queries per second avg: 9.042
    [12:47][root@DB01 ~]# service mysqld restart
    Redirecting to /bin/systemctl restart  mysqld.service
    [12:48][root@DB01 ~]# mysqladmin ver
    mysqladmin  Ver 9.1 Distrib 10.1.22-MariaDB, for Linux on x86_64
    Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
    
    Server version          10.1.22-MariaDB
    Protocol version        10
    Connection              Localhost via UNIX socket
    UNIX socket             /var/lib/mysql/mysql.sock
    Uptime:                 3 sec
    
    Threads: 1  Questions: 1  Slow queries: 0  Opens: 17  Flush tables: 1  Open tables: 11  Queries per second avg: 0.333
    [12:48][root@DB01 ~]# 
    
     
    • Like Like x 1