Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specify root user for the db structure load as well

  • Loading branch information...
commit 5e110f1cab4ddeb63e460f921b5d5e04877ac242 1 parent a2795ff
Luke Melia lukemelia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/testjour/mysql.rb
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.