# File lib/deep_test/database/mysql_setup_listener.rb, line 40 40: def grant_privileges(connection) 41: sql = %{grant all on #{worker_database}.* 42: to %s@'localhost' identified by %s;} % [ 43: connection.quote(worker_database_config[:username]), 44: connection.quote(worker_database_config[:password]) 45: ] 46: connection.execute sql 47: end