Update install.py

pull/49/head
wangjunj 2016-01-28 23:08:12 +08:00
parent 02e9ba54f9
commit cd6cfc6ae9
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class PreSetup(object):
color_print('默认用户名: %s 默认密码: %s' % (self.db_user, self.db_pass), 'green')
bash('yum -y install mysql-server')
bash('service mysqld start')
bash('chkconfig mysqld on')
bash('chkconfig mysqld on')
bash('mysql -e "create database %s default charset=utf8"' % self.db)
bash('mysql -e "grant all on %s.* to \'%s\'@\'%s\' identified by \'%s\'"' % (self.db,
self.db_user,