Skip to content

Commit 09d11e6

Browse files
authored
Merge pull request #213 from yahonda/support_trilogy
Set `MYSQL_SOCK` environment variable for Trilogy
2 parents 3d540cf + 2f31a0f commit 09d11e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: bootstrap.sh

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ GRANT ALL PRIVILEGES ON activerecord_unittest.* to 'rails'@'localhost';
5252
GRANT ALL PRIVILEGES ON activerecord_unittest2.* to 'rails'@'localhost';
5353
GRANT ALL PRIVILEGES ON inexistent_activerecord_unittest.* to 'rails'@'localhost';
5454
SQL
55+
# To address `unable to connect to /tmp/mysql.sock` for trilogy
56+
echo "export MYSQL_SOCK=/var/run/mysqld/mysqld.sock" >> /home/vagrant/.bashrc
5557

5658
install 'Psych dependencies' libyaml-dev
5759
install 'Nokogiri dependencies' libxml2 libxml2-dev libxslt1-dev

0 commit comments

Comments
 (0)