-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
I use nodeJS 0.10.1 on heroku hosting with mysql 2.0.0 alfa7 and i work with ClearDB mysql database.
I connect to database like this
var MYSQLConnection = require('mysql').createConnection('mysql://b453496a28495a:SECRET@us-cdbr-east-03.cleardb.com/heroku_1a4a27e1f6bed85?reconnect=true');
I try to reconnect after connection lost like there and it doen's works
https://github.com/felixge/node-mysql#server-disconnects
what am i doing wrong?
Affter losing connection i can't reconnect with code you have provided
Regards, Anatoly