tar -xvf galera-25.3.14-glibc_214-x86_64.tar.gz -C /opt/
ln -s /opt/galera-25.3.14-glibc_214-x86_64 /opt/galera
ln -s /opt/galera/usr/bin/garbd /usr/bin/
ln -s /opt/galera/usr/lib/* /usr/lib64/
ln -s /opt/galera/etc/init.d/garb /etc/init.d/
ln -s /opt/galera/usr/share/man/man8/garbd.8.gz /usr/share/man/man8/
ln -s /opt/galera/usr/share/doc/galera-* /usr/share/doc/
[root@db02 ~]# mysql -uroot -p
Enter
password:
Welcome to the
MariaDB monitor.
Your MariaDB connection id is 12
Server version: 10.0.24-MariaDB-wsrep MariaDB Server, wsrep_25.13.raf7f02e
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MariaDB [(none)]> SHOW DATABASES;
+--------------------+
|
Database
+--------------------+
| information_schema |
|
mysql
| performance_schema |
+--------------------+
3 rows in set (0.00 sec)
MariaDB [(none)]> SHOW ENGINESG
*************************** 1. row ***************************
Transactions: NO
*************************** 2. row ***************************
Transactions: NO
*************************** 3. row ***************************
Transactions: NO
*************************** 4. row ***************************
Transactions: NO
*************************** 5. row ***************************
Transactions: YES
*************************** 6. row ***************************
Transactions: NO
*************************** 7. row ***************************
Transactions: YES
*************************** 8. row ***************************
Transactions: NO
*************************** 9. row ***************************
Transactions: NO
*************************** 10. row ***************************
Transactions: NO
10 rows in set (0.00 sec)
MariaDB [(none)]> STATUS;
--------------
mysql
Connection id: 12
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server: MariaDB
Server version: 10.0.24-MariaDB-wsrep MariaDB Server, wsrep_25.13.raf7f02e
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db
Client characterset: utf8
Conn.
UNIX socket: /tmp/mysql.sock
Uptime: 25 min 45 sec
Threads:
1
--------------