Title / Description
Code ## # install mysql ## include_recipe 'mysql::server' ## # add mos user/db ## include_recipe 'database::mysql' mysql_connection_info = {:host => "localhost", :username => 'root', :password => node['mysql']['server_root_password']} mysql_database 'mos' do connection mysql_connection_info action :create end mysql_database_user 'mos' do connection mysql_connection_info password 'mos' database_name 'mos' action :grant end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code