raiseConnectionTimeoutError,"could not obtain a database connection#{" within #{@timeout} seconds"if@timeout}. The max pool size is currently #{@size}; consider increasing it."
raiseConnectionTimeoutError,"could not obtain a database connection#{" within #{@timeout} seconds"if@timeout}. The max pool size is currently #{@size}; consider increasing it."
ifexception.message.split(":").first=~/Packets out of order/
ifexception.message.split(":").first=~/Packets out of order/
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
ifexception.message.split(":").first=~/Packets out of order/
ifexception.message.split(":").first=~/Packets out of order/
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
@@ -431,7 +431,7 @@ def execute(sql, name = nil) #:nodoc:
...
@@ -431,7 +431,7 @@ def execute(sql, name = nil) #:nodoc:
end
end
rescueActiveRecord::StatementInvalid=>exception
rescueActiveRecord::StatementInvalid=>exception
ifexception.message.split(":").first=~/Packets out of order/
ifexception.message.split(":").first=~/Packets out of order/
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
raiseActiveRecord::StatementInvalid,"'Packets out of order' error was received from the database. Please update your mysql bindings (gem install mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. If you're on Windows, use the Instant Rails installer to get the updated mysql bindings."
@@ -296,7 +296,7 @@ db_namespace = namespace :db do
...
@@ -296,7 +296,7 @@ db_namespace = namespace :db do
end
end
namespace:fixturesdo
namespace:fixturesdo
desc"Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y. Load from subdirectory in test/fixtures using FIXTURES_DIR=z. Specify an alternative path (eg. spec/fixtures) using FIXTURES_PATH=spec/fixtures."
desc"Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y. Load from subdirectory in test/fixtures using FIXTURES_DIR=z. Specify an alternative path (eg. spec/fixtures) using FIXTURES_PATH=spec/fixtures."