File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ install RabbitMQ rabbitmq-server
3434
3535install PostgreSQL postgresql postgresql-contrib libpq-dev
3636sudo -u postgres createuser --superuser vagrant
37- sudo -u postgres createdb -O vagrant activerecord_unittest
38- sudo -u postgres createdb -O vagrant activerecord_unittest2
37+ sudo -u postgres createdb -O vagrant -E UTF8 -T template0 activerecord_unittest
38+ sudo -u postgres createdb -O vagrant -E UTF8 -T template0 activerecord_unittest2
3939
4040debconf-set-selections <<< ' mysql-server mysql-server/root_password password root'
4141debconf-set-selections <<< ' mysql-server mysql-server/root_password_again password root'
4242install MySQL mysql-server libmysqlclient-dev
4343# Set the password in an environment variable to avoid the warning issued if set with `-p`.
4444MYSQL_PWD=root mysql -uroot << SQL
4545CREATE USER 'rails'@'localhost';
46- CREATE DATABASE activerecord_unittest DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci ;
47- CREATE DATABASE activerecord_unittest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci ;
46+ CREATE DATABASE activerecord_unittest DEFAULT CHARACTER SET utf8mb4 ;
47+ CREATE DATABASE activerecord_unittest2 DEFAULT CHARACTER SET utf8mb4 ;
4848GRANT ALL PRIVILEGES ON activerecord_unittest.* to 'rails'@'localhost';
4949GRANT ALL PRIVILEGES ON activerecord_unittest2.* to 'rails'@'localhost';
5050GRANT ALL PRIVILEGES ON inexistent_activerecord_unittest.* to 'rails'@'localhost';
You can’t perform that action at this time.
0 commit comments