# yum install mysql-server # chkconfig --level 35 mysqld on
innodb_rollback_on_timeout=1 innodb_lock_wait_timeout=600 max_connections=700 log-bin=mysql-bin binlog-format = 'ROW'
# service mysqld restart # mysql -u root
mysql> SET PASSWORD = PASSWORD('password');
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; mysql> exit
# service mysqld restart
# iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
-A INPUT -p tcp --dport 3306 -j ACCEPT
# cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password> -e <encryption_type> -m <management_server_key> -k <database_key>
# cloud-setup-management