• mariadb 离线安装


    [root@localhost local]# cd /var/local
    [root@localhost local]# ls
    mariadb
    [root@localhost local]# cd /mariadb
    -bash: cd: /mariadb: No such file or directory
    [root@localhost local]# cd mariadb
    [root@localhost mariadb]# ls
    galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm MariaDB-compat-10.4.6-1.el7.centos.x86_64.rpm rsync-3.1.2-4.el7.x86_64.rpm
    lsof-4.87-6.el7.x86_64.rpm MariaDB-common-10.4.6-1.el7.centos.x86_64.rpm MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    [root@localhost mariadb]# rpm -ivh MariaDB-compat-10.4.6-1.el7.centos.x86_64.rpm MariaDB-common-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-compat-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    mariadb-libs < 1:10.1.0 conflicts with MariaDB-compat-10.4.6-1.el7.centos.x86_64
    mariadb-libs is obsoleted by MariaDB-compat-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# yum remove mariadb-libs
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be erased
    --> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-7.el7.x86_64
    --> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-7.el7.x86_64
    --> Running transaction check
    ---> Package postfix.x86_64 2:2.10.1-7.el7 will be erased
    --> Finished Dependency Resolution

    Dependencies Resolved

    ===============================================================================================================================================================================================
    Package Arch Version Repository Size
    ===============================================================================================================================================================================================
    Removing:
    mariadb-libs x86_64 1:5.5.60-1.el7_5 @anaconda 4.4 M
    Removing for dependencies:
    postfix x86_64 2:2.10.1-7.el7 @anaconda 12 M

    Transaction Summary
    ===============================================================================================================================================================================================
    Remove 1 Package (+1 Dependent package)

    Installed size: 17 M
    Is this ok [y/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Erasing : 2:postfix-2.10.1-7.el7.x86_64 1/2
    Erasing : 1:mariadb-libs-5.5.60-1.el7_5.x86_64 2/2
    Verifying : 2:postfix-2.10.1-7.el7.x86_64 1/2
    Verifying : 1:mariadb-libs-5.5.60-1.el7_5.x86_64 2/2

    Removed:
    mariadb-libs.x86_64 1:5.5.60-1.el7_5

    Dependency Removed:
    postfix.x86_64 2:2.10.1-7.el7

    Complete!
    [root@localhost mariadb]# rpm -ivh MariaDB-compat-10.4.6-1.el7.centos.x86_64.rpm MariaDB-common-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-compat-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:MariaDB-common-10.4.6-1.el7.cento################################# [ 50%]
    2:MariaDB-compat-10.4.6-1.el7.cento################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Exporter) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Fcntl) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(IPC::Open3) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Sys::Hostname) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    /usr/bin/perl is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    MariaDB-client is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    galera-4 is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    rsync is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    lsof is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Data::Dumper) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Basename) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Copy) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(POSIX) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(strict) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Sys::Hostname) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(vars) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    /usr/bin/perl is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm
    warning: galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    libboost_program_options.so.1.53.0()(64bit) is needed by galera-4-26.4.2-1.rhel7.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh boost-program-options-1.53.0-27.el7.i686.rpm
    warning: boost-program-options-1.53.0-27.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libc.so.6 is needed by boost-program-options-1.53.0-27.el7.i686
    libc.so.6(GLIBC_2.0) is needed by boost-program-options-1.53.0-27.el7.i686
    libc.so.6(GLIBC_2.1.3) is needed by boost-program-options-1.53.0-27.el7.i686
    libc.so.6(GLIBC_2.4) is needed by boost-program-options-1.53.0-27.el7.i686
    libgcc_s.so.1 is needed by boost-program-options-1.53.0-27.el7.i686
    libgcc_s.so.1(GCC_3.0) is needed by boost-program-options-1.53.0-27.el7.i686
    libm.so.6 is needed by boost-program-options-1.53.0-27.el7.i686
    libpthread.so.0 is needed by boost-program-options-1.53.0-27.el7.i686
    libpthread.so.0(GLIBC_2.0) is needed by boost-program-options-1.53.0-27.el7.i686
    librt.so.1 is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6 is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(CXXABI_1.3) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4.11) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4.9) is needed by boost-program-options-1.53.0-27.el7.i686
    [root@localhost mariadb]# rpm -ivh libgcc-4.8.5-36.el7.i686.rpm
    warning: libgcc-4.8.5-36.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:libgcc-4.8.5-36.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh glibc-2.17-260.el7.i686.rpm
    warning: glibc-2.17-260.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libfreebl3.so is needed by glibc-2.17-260.el7.i686
    libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.17-260.el7.i686
    [root@localhost mariadb]# rpm -ivh nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm
    warning: nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libc.so.6 is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2 is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    [root@localhost mariadb]# rpm -ivh nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm --nodeps
    warning: nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:nss-softokn-freebl-3.36.0-5.el7_5################################# [100%]
    [root@localhost mariadb]# rpm -ivh nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm
    warning: nss-softokn-freebl-3.36.0-5.el7_5.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libc.so.6 is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2 is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.36.0-5.el7_5.i686
    [root@localhost mariadb]# rpm -ivh glibc-2.17-260.el7.i686.rpm
    warning: glibc-2.17-260.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:glibc-2.17-260.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh boost-program-options-1.53.0-27.el7.i686.rpm
    warning: boost-program-options-1.53.0-27.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libstdc++.so.6 is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(CXXABI_1.3) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4.11) is needed by boost-program-options-1.53.0-27.el7.i686
    libstdc++.so.6(GLIBCXX_3.4.9) is needed by boost-program-options-1.53.0-27.el7.i686
    [root@localhost mariadb]# rpm -ivh libstdc++-4.8.5-36.el7.i686.rpm
    warning: libstdc++-4.8.5-36.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:libstdc++-4.8.5-36.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh boost-program-options-1.53.0-27.el7.i686.rpm
    warning: boost-program-options-1.53.0-27.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:boost-program-options-1.53.0-27.e################################# [100%]
    [root@localhost mariadb]# rpm -ivh galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm
    warning: galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    libboost_program_options.so.1.53.0()(64bit) is needed by galera-4-26.4.2-1.rhel7.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm --nodeps
    warning: galera-4-26.4.2-1.rhel7.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:galera-4-26.4.2-1.rhel7.el7.cento################################# [100%]
    [root@localhost mariadb]# rpm -ivh rsync-3.1.2-4.el7.x86_64.rpm
    warning: rsync-3.1.2-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:rsync-3.1.2-4.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh lsof-4.87-6.el7.x86_64.rpm
    warning: lsof-4.87-6.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:lsof-4.87-6.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Exporter) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Fcntl) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(IPC::Open3) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    perl(Sys::Hostname) is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    /usr/bin/perl is needed by MariaDB-client-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# ^C
    [root@localhost mariadb]# rpm -ivh MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm --nodeps
    warning: MariaDB-client-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:MariaDB-client-10.4.6-1.el7.cento################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Data::Dumper) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Basename) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Copy) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(POSIX) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(strict) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Sys::Hostname) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(vars) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    /usr/bin/perl is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Exporter-5.68-3.el7.noarch.rpm
    warning: perl-Exporter-5.68-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl >= 0:5.006 is needed by perl-Exporter-5.68-3.el7.noarch
    perl(:MODULE_COMPAT_5.16.3) is needed by perl-Exporter-5.68-3.el7.noarch
    perl(Carp) >= 1.05 is needed by perl-Exporter-5.68-3.el7.noarch
    perl(strict) is needed by perl-Exporter-5.68-3.el7.noarch
    perl(warnings) is needed by perl-Exporter-5.68-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-File-Listing-6.04-7.el7.noarch.rpm
    warning: perl-File-Listing-6.04-7.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(:MODULE_COMPAT_5.16.3) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(Carp) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(Exporter) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(HTTP::Date) >= 6 is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(Time::Local) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(strict) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(vars) is needed by perl-File-Listing-6.04-7.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-5.16.3-293.el7.x86_64.rpm
    warning: perl-5.16.3-293.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    libperl.so()(64bit) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Carp) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Cwd) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Exporter) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(File::Path) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(File::Spec) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(File::Spec::Functions) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(File::Spec::Unix) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(File::Temp) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Filter::Util::Call) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Getopt::Long) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Pod::Simple::Search) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Pod::Simple::XHTML) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Scalar::Util) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Scalar::Util) >= 1.10 is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Socket) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Socket) >= 1.3 is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Storable) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Time::HiRes) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(Time::Local) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(constant) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(threads) is needed by perl-4:5.16.3-293.el7.x86_64
    perl(threads::shared) is needed by perl-4:5.16.3-293.el7.x86_64
    perl-libs is needed by perl-4:5.16.3-293.el7.x86_64
    perl-libs = 4:5.16.3-293.el7 is needed by perl-4:5.16.3-293.el7.x86_64
    perl-macros is needed by perl-4:5.16.3-293.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-5.16.3-293.el7.x86_64.rpm --nodeps
    warning: perl-5.16.3-293.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-4:5.16.3-293.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-File-Listing-6.04-7.el7.noarch.rpm
    warning: perl-File-Listing-6.04-7.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Carp) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(Exporter) is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(HTTP::Date) >= 6 is needed by perl-File-Listing-6.04-7.el7.noarch
    perl(Time::Local) is needed by perl-File-Listing-6.04-7.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-Exporter-5.68-3.el7.noarch.rpm
    warning: perl-Exporter-5.68-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Carp) >= 1.05 is needed by perl-Exporter-5.68-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Data::Dumper) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Exporter-5.68-3.el7.noarch.rpm --nodeps
    warning: perl-Exporter-5.68-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Exporter-5.68-3.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-File-Listing-6.04-7.el7.noarch.rpm --nodeps
    warning: perl-File-Listing-6.04-7.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-File-Listing-6.04-7.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Data::Dumper) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Data-Dumper-2.145-3.el7.x86_64.rpm
    warning: perl-Data-Dumper-2.145-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Carp) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    perl(Scalar::Util) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    perl(constant) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Carp-1.26-244.el7.noarch.rpm
    warning: perl-Carp-1.26-244.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Carp-1.26-244.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-Data-Dumper-2.145-3.el7.x86_64.rpm
    warning: perl-Data-Dumper-2.145-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Scalar::Util) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    perl(constant) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm
    warning: perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Scalar-List-Utils-1.27-248.e################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(Data::Dumper) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Data-Dumper-2.145-3.el7.x86_64.rpm
    warning: perl-Data-Dumper-2.145-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(constant) is needed by perl-Data-Dumper-2.145-3.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-constant-1.27-2.el7.noarch.rpm
    warning: perl-constant-1.27-2.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-constant-1.27-2.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-Data-Dumper-2.145-3.el7.x86_64.rpm
    warning: perl-Data-Dumper-2.145-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Data-Dumper-2.145-3.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(DBI) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(Getopt::Long) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Getopt-Long-2.40-3.el7.noarch.rpm
    warning: perl-Getopt-Long-2.40-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Pod::Usage) >= 1.14 is needed by perl-Getopt-Long-2.40-3.el7.noarch
    perl(Text::ParseWords) is needed by perl-Getopt-Long-2.40-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-DBI-1.627-4.el7.x86_64.rpm
    warning: perl-DBI-1.627-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Cwd) is needed by perl-DBI-1.627-4.el7.x86_64
    perl(File::Spec) is needed by perl-DBI-1.627-4.el7.x86_64
    perl(Getopt::Long) is needed by perl-DBI-1.627-4.el7.x86_64
    perl(RPC::PlClient) >= 0.2000 is needed by perl-DBI-1.627-4.el7.x86_64
    perl(RPC::PlServer) >= 0.2001 is needed by perl-DBI-1.627-4.el7.x86_64
    perl(Storable) is needed by perl-DBI-1.627-4.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-Pod-Usage-1.63-3.el7.noarch.rpm
    warning: perl-Pod-Usage-1.63-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(File::Spec) >= 0.82 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl(Getopt::Long) is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl(Pod::Text) >= 3.15 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl-Pod-Perldoc is needed by perl-Pod-Usage-1.63-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-Getopt-Long-2.40-3.el7.noarch.rpm
    warning: perl-Getopt-Long-2.40-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Pod::Usage) >= 1.14 is needed by perl-Getopt-Long-2.40-3.el7.noarch
    perl(Text::ParseWords) is needed by perl-Getopt-Long-2.40-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-Pod-Usage-1.63-3.el7.noarch.rpm
    warning: perl-Pod-Usage-1.63-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(File::Spec) >= 0.82 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl(Getopt::Long) is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl(Pod::Text) >= 3.15 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl-Pod-Perldoc is needed by perl-Pod-Usage-1.63-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-Getopt-Long-2.40-3.el7.noarch.rpm --nodeps
    warning: perl-Getopt-Long-2.40-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Getopt-Long-2.40-3.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-Pod-Usage-1.63-3.el7.noarch.rpm
    warning: perl-Pod-Usage-1.63-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(File::Spec) >= 0.82 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl(Pod::Text) >= 3.15 is needed by perl-Pod-Usage-1.63-3.el7.noarch
    perl-Pod-Perldoc is needed by perl-Pod-Usage-1.63-3.el7.noarch
    [root@localhost mariadb]# rpm -ivh perl-Pod-Usage-1.63-3.el7.noarch.rpm --nodeps
    warning: perl-Pod-Usage-1.63-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-Pod-Usage-1.63-3.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-DBI-1.627-4.el7.x86_64.rpm
    warning: perl-DBI-1.627-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    error: Failed dependencies:
    perl(Cwd) is needed by perl-DBI-1.627-4.el7.x86_64
    perl(File::Spec) is needed by perl-DBI-1.627-4.el7.x86_64
    perl(RPC::PlClient) >= 0.2000 is needed by perl-DBI-1.627-4.el7.x86_64
    perl(RPC::PlServer) >= 0.2001 is needed by perl-DBI-1.627-4.el7.x86_64
    perl(Storable) is needed by perl-DBI-1.627-4.el7.x86_64
    [root@localhost mariadb]# rpm -ivh perl-DBI-1.627-4.el7.x86_64.rpm --nodeps
    warning: perl-DBI-1.627-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-DBI-1.627-4.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-File-Listing-6.04-7.el7.noarch.rpm --nodeps
    warning: perl-File-Listing-6.04-7.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    package perl-File-Listing-6.04-7.el7.noarch is already installed
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-PathTools-3.40-5.el7.x86_64.rpm
    warning: perl-PathTools-3.40-5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-PathTools-3.40-5.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-File-Policy-1.5.0-9.mga7.noarch.rpm
    warning: perl-File-Policy-1.5.0-9.mga7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 80420f66: NOKEY
    error: Failed dependencies:
    perl(File::Slurp) is needed by perl-File-Policy-1.5.0-9.mga7.noarch
    perl(Log::Trace) is needed by perl-File-Policy-1.5.0-9.mga7.noarch
    perl(Test::Assertions) is needed by perl-File-Policy-1.5.0-9.mga7.noarch
    perl-base >= 2:5.28.0 is needed by perl-File-Policy-1.5.0-9.mga7.noarch
    [root@localhost mariadb]# rpm -ivh perl-File-Policy-1.5.0-9.mga7.noarch.rpm --nodeps
    warning: perl-File-Policy-1.5.0-9.mga7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 80420f66: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-File-Policy-1.5.0-9.mga7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    error: Failed dependencies:
    perl(File::Path) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    perl(File::Temp) is needed by MariaDB-server-10.4.6-1.el7.centos.x86_64
    [root@localhost mariadb]# rpm -ivh perl-File-Path-2.09-2.el7.noarch.rpm
    warning: perl-File-Path-2.09-2.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-File-Path-2.09-2.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh perl-File-Temp-0.23.01-3.el7.noarch.rpm
    warning: perl-File-Temp-0.23.01-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:perl-File-Temp-0.23.01-3.el7 ################################# [100%]
    [root@localhost mariadb]# rpm -ivh MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm
    warning: MariaDB-server-10.4.6-1.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:MariaDB-server-10.4.6-1.el7.cento################################# [100%]
    chown: invalid user: ‘mysql’


    Two all-privilege accounts were created.
    One is root@localhost, it has no password, but you need to
    be system 'root' user to connect. Use, for example, sudo mysql
    The second is mysql@localhost, it has no password either, but
    you need to be the system 'mysql' user to connect.
    After connecting you can set the password, if you would need to be
    able to connect as any of these users with a password and without sudo

    See the MariaDB Knowledgebase at http://mariadb.com/kb or the
    MySQL manual for more instructions.

    Please report any problems at http://mariadb.org/jira

    The latest information about MariaDB is available at http://mariadb.org/.
    You can find additional information about the MySQL part at:
    http://dev.mysql.com
    Consider joining MariaDB's strong and vibrant community:
    https://mariadb.org/get-involved/

    [root@localhost mariadb]# systemctl start mariadb
    [root@localhost mariadb]# mysql
    Welcome to the MariaDB monitor. Commands end with ; or g.
    Your MariaDB connection id is 8
    Server version: 10.4.6-MariaDB MariaDB Server

    Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

    Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

    MariaDB [(none)]> set password for root@localhost=password('111111');
    Query OK, 0 rows affected (0.010 sec)

    MariaDB [(none)]> exit;
    Bye
    [root@localhost mariadb]# systemctl restart mariadb
    [root@localhost mariadb]# mysql
    Welcome to the MariaDB monitor. Commands end with ; or g.
    Your MariaDB connection id is 8
    Server version: 10.4.6-MariaDB MariaDB Server

    Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

    Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

    MariaDB [(none)]> exits;
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exits' at line 1
    MariaDB [(none)]> exit
    Bye
    [root@localhost mariadb]# vi /etc/my.cnf.d/server.cnf
    [root@localhost mariadb]# cd /usr/lib/
    [root@localhost lib]# ls
    audit kdump libcidn-2.17.so libgcc_s-4.8.5-20150702.so.1 libnss_dns-2.17.so libpthread-2.17.so libutil-2.17.so sse2
    binfmt.d kernel libcidn.so.1 libgcc_s.so.1 libnss_dns.so.2 libpthread.so.0 libutil.so.1 sysctl.d
    debug ld-2.17.so libcrypt-2.17.so libm-2.17.so libnss_files-2.17.so libresolv-2.17.so locale systemd
    dracut ld-linux.so.2 libcrypt.so.1 libmemusage.so libnss_files.so.2 libresolv.so.2 modprobe.d sysusers.d
    firewalld libanl-2.17.so libc.so.6 libm.so.6 libnss_hesiod-2.17.so librt-2.17.so modules tmpfiles.d
    firmware libanl.so.1 libdl-2.17.so libnsl-2.17.so libnss_hesiod.so.2 librt.so.1 modules-load.d tuned
    games libboost_program_options-mt.so.1.53.0 libdl.so.2 libnsl.so.1 libnss_nis-2.17.so libSegFault.so NetworkManager udev
    gconv libboost_program_options.so.1.53.0 libfreebl3.chk libnss_compat-2.17.so libnss_nisplus-2.17.so libstdc++.so.6 polkit-1 yum-plugins
    grub libBrokenLocale-2.17.so libfreebl3.so libnss_compat.so.2 libnss_nisplus.so.2 libstdc++.so.6.0.19 python2.7
    i686 libBrokenLocale.so.1 libfreeblpriv3.chk libnss_db-2.17.so libnss_nis.so.2 libthread_db-1.0.so rpm
    kbd libc-2.17.so libfreeblpriv3.so libnss_db.so.2 libpcprofile.so libthread_db.so.1 rtkaio
    [root@localhost lib]# cd /usr/lib64
    [root@localhost lib64]# ls
    audit libdhcpctl.so.0.0.0 libgssrpc.so.4 libmenuw.so.5.9 libpanel.so.5.9 libss.so.2
    cracklib_dict.hwm libdl-2.17.so libgssrpc.so.4.2 libmnl.so.0 libpanelw.so.5 libss.so.2.0
    cracklib_dict.pwd libdl.so.2 libgthread-2.0.so.0 libmnl.so.0.1.0 libpanelw.so.5.9 libstdc++.so.6
    cracklib_dict.pwi libdnet.so.1 libgthread-2.0.so.0.5600.1 libmount.so.1 libparted-fs-resize.so libstdc++.so.6.0.19
    device-mapper libdnet.so.1.0.1 libguestlib.so.0 libmount.so.1.1.0 libparted-fs-resize.so.0 libsysfs.so.2
    ebtables libdns-export.so.100 libguestlib.so.0.0.0 libmozjs-17.0.so libparted-fs-resize.so.0.0.0 libsysfs.so.2.0.1
    elfutils libdns-export.so.100.1.1 libhandle.so.1 libm.so.6 libparted.so.2 libsystemd-daemon.so.0
    fipscheck libdrm_amdgpu.so.1 libhandle.so.1.0.3 libmspack.so.0 libparted.so.2.0.0 libsystemd-daemon.so.0.0.12
    galera-4 libdrm_amdgpu.so.1.0.0 libhgfs.so.0 libmspack.so.0.1.0 libpciaccess.so.0 libsystemd-id128.so.0
    games libdrm_intel.so.1 libhgfs.so.0.0.0 libmysqlclient_r.so.15 libpciaccess.so.0.11.1 libsystemd-id128.so.0.0.28
    gconv libdrm_intel.so.1.0.0 libhistory.so.6 libmysqlclient_r.so.15.0.0 libpci.so.3 libsystemd-journal.so.0
    gettext libdrm_nouveau.so.2 libhistory.so.6.2 libmysqlclient_r.so.16 libpci.so.3.5.1 libsystemd-journal.so.0.11.5
    gio libdrm_nouveau.so.2.0.0 libicudata.so.50 libmysqlclient_r.so.16.0.0 libpcprofile.so libsystemd-login.so.0
    girepository-1.0 libdrm_radeon.so.1 libicudata.so.50.1.2 libmysqlclient.so.15 libpcre16.so.0 libsystemd-login.so.0.9.3
    krb5 libdrm_radeon.so.1.0.1 libicui18n.so.50 libmysqlclient.so.15.0.0 libpcre16.so.0.2.0 libsystemd.so.0
    ld-2.17.so libdrm.so.2 libicui18n.so.50.1.2 libmysqlclient.so.16 libpcre32.so.0 libsystemd.so.0.6.0
    ld-linux-x86-64.so.2 libdrm.so.2.4.0 libicuio.so.50 libmysqlclient.so.16.0.0 libpcre32.so.0.0.0 libtasn1.so.6
    libacl.so.1 libdw-0.172.so libicuio.so.50.1.2 libmysqlclient.so.18 libpcrecpp.so.0 libtasn1.so.6.5.3
    libacl.so.1.1.0 libdw.so.1 libicule.so.50 libmysqlclient.so.18.0.0 libpcrecpp.so.0.0.0 libteamdctl.so.0
    libaio.so.1 libe2p.so.2 libicule.so.50.1.2 libmysqld.so libpcreposix.so.0 libteamdctl.so.0.1.5
    libaio.so.1.0.0 libe2p.so.2.3 libiculx.so.50 libncurses.so.5 libpcreposix.so.0.0.1 libteam.so.5
    libaio.so.1.0.1 libebtc.so libiculx.so.50.1.2 libncurses++.so.5 libpcre.so.1 libteam.so.5.4.0
    libanl-2.17.so libedit.so.0 libicutest.so.50 libncurses.so.5.9 libpcre.so.1.2.0 libthread_db-1.0.so
    libanl.so.1 libedit.so.0.0.42 libicutest.so.50.1.2 libncurses++.so.5.9 libpipeline.so.1 libthread_db.so.1
    libasm-0.172.so libelf-0.172.so libicutu.so.50 libncurses++w.so.5 libpipeline.so.1.2.3 libtic.so.5
    libasm.so.1 libelf.so.1 libicutu.so.50.1.2 libncursesw.so.5 libplc4.so libtic.so.5.9
    libasound.so.2 libestr.so.0 libicuuc.so.50 libncurses++w.so.5.9 libplds4.so libtinfo.so.5
    libasound.so.2.0.0 libestr.so.0.0.0 libicuuc.so.50.1.2 libncursesw.so.5.9 libply-boot-client.so.2 libtinfo.so.5.9
    libasprintf.so.0 libexpat.so.1 libidn.so.11 libndp.so.0 libply-boot-client.so.2.1.0 libudev.so.1
    libasprintf.so.0.0.0 libexpat.so.1.6.0 libidn.so.11.6.11 libndp.so.0.0.0 libply.so.2 libudev.so.1.6.2
    libassuan.so.0 libexslt.so.0 libip4tc.so.0 libnetfilter_conntrack.so.3 libply.so.2.1.0 libulockmgr.so.1
    libassuan.so.0.4.0 libexslt.so.0.8.17 libip4tc.so.0.1.0 libnetfilter_conntrack.so.3.6.0 libply-splash-core.so.2 libulockmgr.so.1.0.1
    libattr.so.1 libext2fs.so.2 libip6tc.so.0 libnewt.so.0.52 libply-splash-core.so.2.1.0 libunistring.so.0
    libattr.so.1.1.0 libext2fs.so.2.4 libip6tc.so.0.1.0 libnewt.so.0.52.15 libpng15.so.15 libunistring.so.0.1.2
    libaudit.so.1 libfastjson.so.4 libipset.so.11 libnfnetlink.so.0 libpng15.so.15.13.0 libuser
    libaudit.so.1.0.0 libfastjson.so.4.0.0 libipset.so.11.1.0 libnfnetlink.so.0.2.0 libpolkit-agent-1.so.0 libuser.so.1
    libauparse.so.0 libffi.so.6 libiptc.so.0 libnl libpolkit-agent-1.so.0.0.0 libuser.so.1.5.0
    libauparse.so.0.0.0 libffi.so.6.0.1 libiptc.so.0.0.0 libnl-3.so.200 libpolkit-gobject-1.so.0 libustr-1.0.so.1
    libbfd-2.27-34.base.el7.so libfipscheck.so.1 libirs-export.so.90 libnl-3.so.200.23.0 libpolkit-gobject-1.so.0.0.0 libustr-1.0.so.1.0.4
    libblkid.so.1 libfipscheck.so.1.2.1 libirs-export.so.90.0.1 libnl-cli-3.so.200 libpopt.so.0 libutempter.so.0
    libblkid.so.1.1.0 libform.so.5 libisccfg-export.so.90 libnl-cli-3.so.200.23.0 libpopt.so.0.0.0 libutempter.so.1.1.6
    libBrokenLocale-2.17.so libform.so.5.9 libisccfg-export.so.90.0.7 libnl-genl-3.so.200 libprocps.so.4 libutil-2.17.so
    libBrokenLocale.so.1 libformw.so.5 libisc-export.so.95 libnl-genl-3.so.200.23.0 libprocps.so.4.0.0 libutil.so.1
    libbtrfs.so.0 libformw.so.5.9 libisc-export.so.95.2.1 libnl-idiag-3.so.200 libpthread-2.17.so libuuid.so.1
    libbtrfs.so.0.1 libfreebl3.chk libjansson.so.4 libnl-idiag-3.so.200.23.0 libpthread.so.0 libuuid.so.1.3.0
    libbz2.so.1 libfreebl3.so libjansson.so.4.10.0 libnl-nf-3.so.200 libpth.so.20 libverto.so.1
    libbz2.so.1.0.6 libfreeblpriv3.chk libjson-c.so.2 libnl-nf-3.so.200.23.0 libpth.so.20.0.27 libverto.so.1.0.0
    libc-2.17.so libfreeblpriv3.so libjson-c.so.2.0.1 libnl-route-3.so.200 libpwquality.so.1 libvgauth.so.0
    libcap-ng.so.0 libfreetype.so.6 libjson.so.0 libnl-route-3.so.200.23.0 libpwquality.so.1.0.2 libvgauth.so.0.0.0
    libcap-ng.so.0.0.0 libfreetype.so.6.14.0 libjson.so.0.1.0 libnl-xfrm-3.so.200 libpython2.7.so.1.0 libvmtools.so.0
    libcap.so.2 libfuse.so.2 libk5crypto.so.3 libnl-xfrm-3.so.200.23.0 libqrencode.so.3 libvmtools.so.0.0.0
    libcap.so.2.22 libfuse.so.2.9.2 libk5crypto.so.3.1 libnm.so.0 libqrencode.so.3.4.1 libwrap.so.0
    libcidn-2.17.so libgcc_s-4.8.5-20150702.so.1 libkdb5.so.8 libnm.so.0.1.0 libreadline.so.6 libwrap.so.0.7.6
    libcidn.so.1 libgcc_s.so.1 libkdb5.so.8.0 libnsl-2.17.so libreadline.so.6.2 libxml2.so.2
    libcom_err.so.2 libgcrypt.so.11 libkeyutils.so.1 libnsl.so.1 libresolv-2.17.so libxml2.so.2.9.1
    libcom_err.so.2.1 libgcrypt.so.11.8.2 libkeyutils.so.1.5 libnspr4.so libresolv.so.2 libxmlsec1-openssl.so
    libcpupower.so.0 libgdbm_compat.so.4 libkmod.so.2 libnss3.so librpmbuild.so.3 libxmlsec1-openssl.so.1
    libcpupower.so.0.0.0 libgdbm_compat.so.4.0.0 libkmod.so.2.2.10 libnssckbi.so librpmbuild.so.3.2.2 libxmlsec1-openssl.so.1.2.20
    libcrack.so.2 libgdbm.so.4 libkms.so.1 libnss_compat-2.17.so librpmio.so.3 libxmlsec1.so.1
    libcrack.so.2.9.0 libgdbm.so.4.0.0 libkms.so.1.0.0 libnss_compat.so.2 librpmio.so.3.2.2 libxmlsec1.so.1.2.20
    libcroco-0.6.so.3 libGeoIP.so.1 libkrad.so.0 libnss_db-2.17.so librpmsign.so.1 libxslt-plugins
    libcroco-0.6.so.3.0.1 libGeoIP.so.1.5.0 libkrad.so.0.0 libnssdbm3.chk librpmsign.so.1.2.2 libxslt.so.1
    libcrypt-2.17.so libGeoIPUpdate.so.0 libkrb5.so.3 libnssdbm3.so librpm.so.3 libxslt.so.1.1.28
    libcrypto.so.10 libGeoIPUpdate.so.0.0.0 libkrb5.so.3.3 libnss_db.so.2 librpm.so.3.2.2 libxtables.so.10
    libcrypto.so.1.0.2k libgettextlib-0.19.8.1.so libkrb5support.so.0 libnss_dns-2.17.so librt-2.17.so libxtables.so.10.0.0
    libcryptsetup.so.12 libgettextpo.so.0 libkrb5support.so.0.1 libnss_dns.so.2 librt.so.1 libz.so.1
    libcryptsetup.so.12.3.0 libgettextpo.so.0.5.4 liblber-2.4.so.2 libnss_files-2.17.so libsasl2.so.3 libz.so.1.2.7
    libcryptsetup.so.4 libgettextsrc-0.19.8.1.so liblber-2.4.so.2.10.7 libnss_files.so.2 libsasl2.so.3.0.0 lua
    libcryptsetup.so.4.7.0 libgio-2.0.so.0 libldap-2.4.so.2 libnss_hesiod-2.17.so libSegFault.so man-db
    libcrypt.so.1 libgio-2.0.so.0.5600.1 libldap-2.4.so.2.10.7 libnss_hesiod.so.2 libselinux.so.1 mysql
    libc.so.6 libgirepository-1.0.so.1 libldap_r-2.4.so.2 libnss_myhostname.so.2 libsemanage.so.1 NetworkManager
    libcurl.so.4 libgirepository-1.0.so.1.0.0 libldap_r-2.4.so.2.10.7 libnss_mymachines.so.2 libsepol.so.1 nss
    libcurl.so.4.3.0 libglib-2.0.so.0 libltdl.so.7 libnss_nis-2.17.so libsgutils2.so.2 openssl
    libdaemon.so.0 libglib-2.0.so.0.5600.1 libltdl.so.7.3.0 libnss_nisplus-2.17.so libsgutils2.so.2.0.0 open-vm-tools
    libdaemon.so.0.5.0 libgmodule-2.0.so.0 liblua-5.1.so libnss_nisplus.so.2 libslang.so.2 p11-kit-proxy.so
    libdb-5.3.so libgmodule-2.0.so.0.5600.1 liblvm2app.so.2.2 libnss_nis.so.2 libslang.so.2.2.4 p11-kit-trust.so
    libdb-5.so libgmp.so.10 liblvm2cmd.so.2.02 libnsspem.so libslapi-2.4.so.2 perl5
    libdbus-1.so.3 libgmp.so.10.2.0 liblz4.so.1 libnsssysinit.so libslapi-2.4.so.2.10.7 pkcs11
    libdbus-1.so.3.14.14 libgmpxx.so.4 liblz4.so.1.7.5 libnssutil3.so libsmartcols.so.1 pkgconfig
    libdbus-glib-1.so.2 libgmpxx.so.4.4.0 liblzma.so.5 libnuma.so.1 libsmartcols.so.1.1.0 plymouth
    libdbus-glib-1.so.2.2.2 libgobject-2.0.so.0 liblzma.so.5.2.2 libomapi.so.0 libsmime3.so pm-utils
    libDeployPkg.so.0 libgobject-2.0.so.0.5600.1 liblzo2.so.2 libomapi.so.0.0.0 libsnappy.so.1 python2.7
    libDeployPkg.so.0.0.0 libgomp.so.1 liblzo2.so.2.0.0 libopcodes-2.27-34.base.el7.so libsnappy.so.1.1.4 rsyslog
    libdevmapper-event-lvm2mirror.so libgomp.so.1.0.0 libm-2.17.so libp11-kit.so.0 libsoftokn3.chk rtkaio
    libdevmapper-event-lvm2raid.so libgpg-error.so.0 libmagic.so.1 libp11-kit.so.0.3.0 libsoftokn3.so sasl2
    libdevmapper-event-lvm2snapshot.so libgpg-error.so.0.10.0 libmagic.so.1.0.0 libpamc.so.0 libsqlite3.so.0 security
    libdevmapper-event-lvm2.so.2.02 libgpgme-pthread.so.11 libmariadbd.so libpamc.so.0.82.1 libsqlite3.so.0.8.6 sse2
    libdevmapper-event-lvm2thin.so libgpgme-pthread.so.11.8.1 libmariadbd.so.19 libpam_misc.so.0 libssh2.so.1 tc
    libdevmapper-event-lvm2vdo.so libgpgme.so.11 libmemusage.so libpam_misc.so.0.82.0 libssh2.so.1.0.1 tls
    libdevmapper-event.so.1.02 libgpgme.so.11.8.1 libmenu.so.5 libpam.so.0 libssl3.so X11
    libdevmapper.so.1.02 libgssapi_krb5.so.2 libmenu.so.5.9 libpam.so.0.83.1 libssl.so.10 xtables
    libdhcpctl.so.0 libgssapi_krb5.so.2.2 libmenuw.so.5 libpanel.so.5 libssl.so.1.0.2k
    [root@localhost lib64]# vi /etc/my.cnf.d/server.cnf
    [root@localhost lib64]# systemctl stop firewalld
    [root@localhost lib64]# systemctl disable firewalld
    Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
    Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
    [root@localhost lib64]# setenforce 0
    [root@localhost lib64]# sed -i 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
    [root@localhost lib64]# systemctl stop mariadb
    [root@localhost lib64]# ps -a
    PID TTY TIME CMD
    16063 pts/0 00:00:00 ps
    [root@localhost lib64]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log &
    [1] 16064
    [root@localhost lib64]# disown $!^C
    [1]+ Exit 1 sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &>/tmp/wsrep_new_cluster.log
    [root@localhost lib64]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!^C
    [1] 16068
    -bash: disown: 16068^C: no such job
    [root@localhost lib64]# ps -a
    PID TTY TIME CMD
    16073 pts/0 00:00:00 ps
    [1]+ Exit 1 sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &>/tmp/wsrep_new_cluster.log
    [root@localhost lib64]# reboot
    Connection closing...Socket close.

    Connection closed by foreign host.

    Disconnected from remote host(192.168.6.137) at 16:33:07.

    Type `help' to learn how to use Xshell prompt.
    [C:~]$

    Connecting to 192.168.6.137:22...


    Type `help' to learn how to use Xshell prompt.
    [C:~]$

    Connecting to 192.168.6.137:22...
    Could not connect to '192.168.6.137' (port 22): Connection failed.

    Type `help' to learn how to use Xshell prompt.
    [C:~]$

    Connecting to 192.168.6.137:22...
    Connection established.
    To escape to local shell, press Ctrl+Alt+].

    WARNING! The remote SSH server rejected X11 forwarding request.
    Last login: Thu Jun 27 16:34:03 2019
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7088 pts/0 00:00:00 ps
    [root@localhost ~]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!^C
    [1] 7089
    -bash: disown: 7089^C: no such job
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7092 pts/0 00:00:00 ps
    [1]+ Exit 1 sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &>/tmp/wsrep_new_cluster.log
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:35:16 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7090 ...
    2019-06-27 16:35:16 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:35:16 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:35:16 0 [Note] WSREP: Loading provider /var/lib64/galera-64/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-64/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-64/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:35:16 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-64/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:35:16 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:35:16 0 [ERROR] Aborting
    ^C
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7094 pts/0 00:00:00 ps
    [root@localhost ~]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7098 pts/0 00:00:00 ps
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:36:39 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7096 ...
    2019-06-27 16:36:39 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:36:39 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:36:39 0 [Note] WSREP: Loading provider /var/lib64/galera-64/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-64/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-64/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:36:39 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-64/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:36:39 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:36:39 0 [ERROR] Aborting
    ^C
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7100 pts/0 00:00:00 ps
    [root@localhost ~]# sudo -u mariadb /usr/sbin/mariadb --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log
    [root@localhost ~]# ps -a
    PID TTY TIME CMD
    7102 pts/0 00:00:00 ps
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    sudo: unknown user: mariadb
    sudo: unable to initialize policy plugin
    ^C
    [root@localhost ~]# sudo -u mysql /usr/sbin/mariadb --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    sudo: /usr/sbin/mariadb: command not found
    ^C
    [root@localhost ~]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:38:35 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7107 ...
    2019-06-27 16:38:35 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:38:35 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:38:35 0 [Note] WSREP: Loading provider /var/lib64/galera-64/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-64/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-64/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:38:35 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-64/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:38:35 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:38:35 0 [ERROR] Aborting
    ^C
    [root@localhost ~]# vi /etc/my.cnf.d/server.cnf
    [root@localhost ~]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!
    [1] 7113
    [root@localhost ~]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:39:47 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7114 ...
    2019-06-27 16:39:47 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:39:47 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:39:47 0 [Note] WSREP: Loading provider /var/lib64/galera-4/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-4/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-4/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:39:47 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-4/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:39:47 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:39:47 0 [ERROR] Aborting
    ^C
    [root@localhost ~]# cd /usr/lib64/galera-4
    [root@localhost galera-4]# ls
    libgalera_smm.so
    [root@localhost galera-4]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!
    [1] 7125
    [root@localhost galera-4]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:42:24 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7126 ...
    2019-06-27 16:42:24 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:42:24 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:42:24 0 [Note] WSREP: Loading provider /var/lib64/galera-4/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-4/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-4/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:42:24 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-4/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:42:24 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:42:24 0 [ERROR] Aborting
    ^C
    [root@localhost galera-4]# cat /usr/lib/systemd/system/mysqld.service
    cat: /usr/lib/systemd/system/mysqld.service: No such file or directory
    [root@localhost galera-4]# cd /usr/systemd/system/
    -bash: cd: /usr/systemd/system/: No such file or directory
    [root@localhost galera-4]# cd /usr/systemd/
    -bash: cd: /usr/systemd/: No such file or directory
    [root@localhost galera-4]# cd /usr/
    [root@localhost usr]# ls
    bin etc games include lib lib64 libexec local sbin share src tmp
    [root@localhost usr]# find / -name 'mysqld.service'
    /etc/systemd/system/mysqld.service
    [root@localhost usr]# vi /etc/systemd/system/mysql.service
    [root@localhost usr]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!
    [1] 7252
    [root@localhost usr]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:50:39 0 [Note] /usr/sbin/mysqld (mysqld 10.4.6-MariaDB) starting as process 7253 ...
    2019-06-27 16:50:39 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4183)
    2019-06-27 16:50:39 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
    2019-06-27 16:50:39 0 [Note] WSREP: Loading provider /var/lib64/galera-4/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
    wsrep loader: [INFO] wsrep_load(): loading provider library '/var/lib64/galera-4/libgalera_smm.so'
    wsrep loader: [ERROR] wsrep_load(): dlopen(): /var/lib64/galera-4/libgalera_smm.so: cannot open shared object file: No such file or directory
    2019-06-27 16:50:39 0 [ERROR] WSREP: Failed to create a new provider '/var/lib64/galera-4/libgalera_smm.so' with options '':Failed to load wsrep library
    2019-06-27 16:50:39 0 [ERROR] WSREP: Failed to load provider
    2019-06-27 16:50:39 0 [ERROR] Aborting
    ^C
    [root@localhost usr]# vi /etc/my.cnf.d/server.cnf
    [root@localhost usr]# sudo -u mysql /usr/sbin/mysqld --wsrep-new-cluster &> /tmp/wsrep_new_cluster.log & disown $!
    [1] 7355
    [root@localhost usr]# tail -f /tmp/wsrep_new_cluster.log
    2019-06-27 16:52:43 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
    2019-06-27 16:52:43 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
    2019-06-27 16:52:43 0 [Note] Reading of all Master_info entries succeeded
    2019-06-27 16:52:43 0 [Note] Added new Master_info '' to hash table
    2019-06-27 16:52:43 0 [Note] /usr/sbin/mysqld: ready for connections.
    Version: '10.4.6-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
    2019-06-27 16:52:43 3 [Note] WSREP: Server localhost.localdomain synced with group
    2019-06-27 16:52:43 3 [Note] WSREP: Server status change joined -> synced
    2019-06-27 16:52:43 3 [Note] WSREP: Synchronized with group, ready for connections
    2019-06-27 16:52:43 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.

  • 相关阅读:
    Mac 修改hosts
    MTK平台系统稳定性分析
    由MTK平台 mtkfb 设备注册疑问引发的知识延伸--ARM Device Tree
    mtk display 架构
    【6572】关于mtk平台display模块的学习探讨
    如何用Bugzilla系统管理产品研发过中相关需求和bug
    Bugzilla 系统企业应用案例
    MT6753平台一项目不同手机最低亮度存偏差问题分析过程
    嵌入式驱动实习生试题(答案)
    嵌入式驱动实习生试题
  • 原文地址:https://www.cnblogs.com/zhongjicainiao/p/11098132.html
Copyright © 2020-2023  润新知