Skip to content

Commit 6687ef1

Browse files
author
remi Taylor
committed
s/MYSQL_SOCKET/MYSQL_SOCKET_PATH/g
1 parent d82fac7 commit 6687ef1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

appengine/cloudsql/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
DB = Sequel.mysql2 user: ENV["MYSQL_USER"],
2121
password: ENV["MYSQL_PASSWORD"],
2222
database: ENV["MYSQL_DATABASE"],
23-
socket: ENV["MYSQL_SOCKET"]
23+
socket: ENV["MYSQL_SOCKET_PATH"]
2424

2525
get "/" do
2626
# Save visit in database

appengine/cloudsql/create_tables.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
DB = Sequel.mysql2 user: ENV["MYSQL_USER"],
1919
password: ENV["MYSQL_PASSWORD"],
2020
database: ENV["MYSQL_DATABASE"],
21-
socket: ENV["MYSQL_SOCKET"]
21+
socket: ENV["MYSQL_SOCKET_PATH"]
2222

2323
DB.create_table :visits do
2424
primary_key :id

0 commit comments

Comments
 (0)