method
grant_statement
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::Tasks::MySQLDatabaseTasks
grant_statement()private
No documentation available.
# File activerecord/lib/active_record/tasks/mysql_database_tasks.rb, line 111
def grant_statement
GRANT ALL PRIVILEGES ON #{configuration['database']}.* TO '#{configuration['username']}'@'localhost'IDENTIFIED BY '#{configuration['password']}' WITH GRANT OPTION;
end