Permalink
Browse files

who would not want utf8?

  • Loading branch information...
1 parent bb07101 commit b0e798a210d6d58c2fc593aa8e2921edbb82a7d5 @phunehehe committed Jan 11, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mysql/definitions/mysql_db.rb
@@ -9,6 +9,7 @@
code <<-EOH
mysql -uroot -p#{root_password} <<"EOF"
CREATE DATABASE IF NOT EXISTS `#{db_name}`;
+ ALTER DATABASE #{db_name} CHARACTER SET utf8;
GRANT ALL ON `#{db_name}`.* TO '#{owner}'@'#{host}';
FLUSH PRIVILEGES;
EOF

0 comments on commit b0e798a

Please sign in to comment.