Permalink
Browse files

Specify root user for the db structure load as well

  • Loading branch information...
1 parent a2795ff commit 5e110f1cab4ddeb63e460f921b5d5e04877ac242 @lukemelia lukemelia committed Apr 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/testjour/mysql.rb
View
@@ -18,7 +18,7 @@ def drop_database
def load_schema
schema_file = File.expand_path("./db/development_structure.sql")
- run "/usr/local/mysql/bin/mysql #{runner_database_name} < #{schema_file}"
+ run "/usr/local/mysql/bin/mysql -u root #{runner_database_name} < #{schema_file}"
end
def runner_database_name

0 comments on commit 5e110f1

Please sign in to comment.