DB start & shutdown


Create Bash scripts for starting DB and shutting down DB.

DB start script

This script makes it easy to start DB.

DBA(s) make a script and place it where want to, and use it.

#!/bin/bash

cd /engn001/mysvc01/mariadb-10.0.26
./bin/mysqld_safe --defaults-file=/engn001/mysvc01/MARIASVC/my.cnf &

DB shutdown script

This script makes it easy to stop DB.

DBA(s) make a script and place it where want to, and use it.

#!/bin/bash

/engn001/mysvc01/mariadb-10.0.26/bin/mysqladmin -S /engn001/mysvc01/MARIASVC/mysqld.sock -uroot -p shutdown

results matching ""

    No results matching ""