Open TriptiBansal opened 10 years ago
con = mysql.new 'localhost', 'root', 'password' rs = con.query 'select version()' puts rs.fetch_row con.close
Please help me out i am new to chef..
shoing me error is:
Cannot find a resource for mysql on amazon version 2012.09
/var/chef/cache/cookbooks/ls_configuration/recipes/default.rb:8:in `from_file'
Would you post the whole traceback and the commands you entered?
con = mysql.new 'localhost', 'root', 'password' rs = con.query 'select version()' puts rs.fetch_row con.close
Please help me out i am new to chef..
shoing me error is:
NameError
Cannot find a resource for mysql on amazon version 2012.09
Cookbook Trace:
/var/chef/cache/cookbooks/ls_configuration/recipes/default.rb:8:in `from_file'