Created
July 17, 2015 07:25
-
-
Save weber/bebdba2255456e50d87b to your computer and use it in GitHub Desktop.
Revisions
-
weber created this gist
Jul 17, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ var sql1 = "SET CHARACTER SET utf8"; connection.query(sql1, function (err, result) { var sql = "SET SESSION collation_connection ='utf8_general_ci"; connection.query(sql, function (err, result) { }); });