We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796b7c6 commit ac9f9a9Copy full SHA for ac9f9a9
activerecord/Rakefile
@@ -53,8 +53,8 @@ end
53
namespace :mysql do
54
desc 'Build the MySQL test databases'
55
task :build_databases do
56
- %x( mysqladmin --user=#{MYSQL_DB_USER} create activerecord_unittest )
57
- %x( mysqladmin --user=#{MYSQL_DB_USER} create activerecord_unittest2 )
+ %x( echo "create DATABASE activerecord_unittest DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci " | mysql --user=#{MYSQL_DB_USER})
+ %x( echo "create DATABASE activerecord_unittest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci " | mysql --user=#{MYSQL_DB_USER})
58
end
59
60
desc 'Drop the MySQL test databases'
0 commit comments