Source

woocode / sa-auto / src / mysql_initdb.sh

Full commit
1
2
3
4
5
6
7
#!/bin/sh

. ./set_app_env.sh;

mkdir -p $APP_DBDAT/mysql5_data
$APP_SVR/mysql5/bin/mysql_install_db --basedir=$APP_SVR/mysql5 --datadir=$APP_DBDAT/mysql5_data