lib/recipes/centos/mysql.rb in capitate-0.2.7 vs lib/recipes/centos/mysql.rb in capitate-0.2.8
- old
+ new
@@ -16,10 +16,10 @@
# Install through package manager
yum.install([ "mysql", "mysql-devel", "mysql-server" ])
# Install service
run_via "/sbin/chkconfig --level 345 mysqld on"
- run_via "/sbin/service mysqld start"
+ run_via "/sbin/service mysqld restart"
# Set admin password
run_via "/usr/bin/mysqladmin -u root password #{mysql_admin_password_set}"
end
\ No newline at end of file