[root@centos70-x86-64 ~]# service mysql start
|
Starting mysql (via systemctl): [ OK ]
|
[root@centos70-x86-64 ~]# mysqladmin -uroot ping
|
mysqld is alive
|
[root@centos70-x86-64 ~]# service mysql status
|
SUCCESS! MySQL running (11341)
|
[root@centos70-x86-64 ~]# systemctl status mysql
|
mariadb.service - MariaDB database server
|
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
|
Drop-In: /etc/systemd/system/mariadb.service.d
|
└─migrated-from-my.cnf-settings.conf
|
Active: active (running) since Tue 2015-12-29 09:28:34 EST; 28s ago
|
Main PID: 11341 (mysqld)
|
Status: "Taking your SQL requests now..."
|
CGroup: /system.slice/mariadb.service
|
└─11341 /usr/sbin/mysqld
|
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782350080 [Note] WSREP: wsrep_notify_c...tion.
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782350080 [Note] WSREP: REPL Protocols...3, 2)
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552544712448 [Note] WSREP: Service thread...shed.
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782350080 [Note] WSREP: Assign initial...on: 3
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552544712448 [Note] WSREP: Service thread...shed.
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782350080 [Note] WSREP: Synchronized w...tions
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782350080 [Note] WSREP: wsrep_notify_c...tion.
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: 2015-12-29 9:28:34 140552782657664 [Note] /usr/sbin/mysqld: rea...ions.
|
Dec 29 09:28:34 centos70-x86-64 mysqld[11341]: Version: '10.1.10-MariaDB' socket: '/var/lib/mysql/mysql.sock' ...erver
|
Dec 29 09:28:34 centos70-x86-64 systemd[1]: Started MariaDB database server.
|
Hint: Some lines were ellipsized, use -l to show in full.
|
|
|
[root@centos70-x86-64 ~]# systemctl stop mysql
|
[root@centos70-x86-64 ~]# service mysql status
|
ERROR! MySQL is not running
|
[root@centos70-x86-64 ~]# systemctl status mysql
|
mariadb.service - MariaDB database server
|
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
|
Drop-In: /etc/systemd/system/mariadb.service.d
|
└─migrated-from-my.cnf-settings.conf
|
Active: inactive (dead) since Tue 2015-12-29 09:29:54 EST; 12s ago
|
Process: 11341 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER (code=exited, status=0/SUCCESS)
|
Main PID: 11341 (code=exited, status=0/SUCCESS)
|
Status: "MariaDB server is down"
|
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] WSREP: wsdb trx map u...age 0
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] WSREP: MemPool(LocalT...ol: 0
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] WSREP: MemPool(SlaveT...ol: 0
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] WSREP: Shifting CLOSE...O: 0)
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] WSREP: Flushing memor...sk...
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140551793899264 [Note] InnoDB: FTS optimize ...ting.
|
Dec 29 09:29:52 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:52 140552781612800 [Note] InnoDB: Starting shutdown...
|
Dec 29 09:29:54 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:54 140552781612800 [Note] InnoDB: Shutdown comp...17009
|
Dec 29 09:29:54 centos70-x86-64 mysqld[11341]: 2015-12-29 9:29:54 140552781612800 [Note] /usr/sbin/mysqld: Shu...plete
|
Dec 29 09:29:54 centos70-x86-64 systemd[1]: Stopped MariaDB database server.
|
Hint: Some lines were ellipsized, use -l to show in full.
|
|
|
[root@centos70-x86-64 ~]# systemctl status mysql
|
mariadb.service - MariaDB database server
|
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
|
Drop-In: /etc/systemd/system/mariadb.service.d
|
└─migrated-from-my.cnf-settings.conf
|
Active: active (running) since Tue 2015-12-29 09:30:38 EST; 5s ago
|
Main PID: 11424 (mysqld)
|
Status: "Taking your SQL requests now..."
|
CGroup: /system.slice/mariadb.service
|
└─11424 /usr/sbin/mysqld
|
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956128000 [Note] WSREP: wsrep_notify_c...tion.
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956435584 [Note] /usr/sbin/mysqld: rea...ions.
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: Version: '10.1.10-MariaDB' socket: '/var/lib/mysql/mysql.sock' ...erver
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956128000 [Note] WSREP: REPL Protocols...3, 2)
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254719768320 [Note] WSREP: Service thread...shed.
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956128000 [Note] WSREP: Assign initial...on: 3
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254719768320 [Note] WSREP: Service thread...shed.
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956128000 [Note] WSREP: Synchronized w...tions
|
Dec 29 09:30:38 centos70-x86-64 mysqld[11424]: 2015-12-29 9:30:38 140254956128000 [Note] WSREP: wsrep_notify_c...tion.
|
Dec 29 09:30:38 centos70-x86-64 systemd[1]: Started MariaDB database server.
|
Hint: Some lines were ellipsized, use -l to show in full.
|
[root@centos70-x86-64 ~]# service mysql status
|
SUCCESS! MySQL running (11424)
|