Commits

Zhang Huangbin  committed 98c808a

Code cleanup: Move MYSQL_ROOT_USER to conf/global.

  • Participants
  • Parent commits 380f053

Comments (0)

Files changed (2)

File iRedMail/conf/global

 # MySQL server
 export MYSQL_SERVER="${LOCAL_ADDRESS}"
 export MYSQL_SERVER_PORT='3306'
+export MYSQL_ROOT_USER='root'
 # PGSQL server
 export PGSQL_SERVER="${LOCAL_ADDRESS}"
 export PGSQL_SERVER_PORT='5432'

File iRedMail/conf/mysql

 
 export MYSQL_MY_CNF='/etc/my.cnf'
 export MYSQL_SOCKET='/var/lib/mysql/mysql.sock'
-export MYSQL_ROOT_USER='root'
 
 export MYSQL_RC_SCRIPT_NAME='mysql'