Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1.  log_daemon_msg "Reloading MariaDB database server" "mysqld"
  2.   $MYADMIN reload
  3.   log_end_msg 0
  4.   ;;
  5.  
  6.   'status')
  7.   if mysqld_status check_alive nowarn; then
  8.     log_action_msg "$($MYADMIN version)"
  9.   else
  10.     log_action_msg "MariaDB is stopped."
  11.     exit 3
  12.   fi
  13.   ;;
  14.  
  15.   'bootstrap')
  16.         # Bootstrap the cluster, start the first node
  17.         # that initiates the cluster
  18.         log_daemon_msg "Bootstrapping the cluster" "mysqld"
  19.         $SELF start "${@:2}" --wsrep-new-cluster
  20.         ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement