Skip to content

Instantly share code, notes, and snippets.

@weber
Created July 17, 2015 07:25
Show Gist options
  • Select an option

  • Save weber/bebdba2255456e50d87b to your computer and use it in GitHub Desktop.

Select an option

Save weber/bebdba2255456e50d87b to your computer and use it in GitHub Desktop.

Revisions

  1. weber created this gist Jul 17, 2015.
    6 changes: 6 additions & 0 deletions gistfile1.html
    Original 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) {
    });
    });