File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1284,12 +1284,12 @@ object. Additionally they typically come with two extra properties:
1284
1284
[ MySQL server error ] : https://dev.mysql.com/doc/refman/5.5/en/server-error-reference.html
1285
1285
1286
1286
Fatal errors are propagated to * all* pending callbacks. In the example below, a
1287
- fatal error is triggered by trying to connect to an invalid port. Therefore the
1287
+ fatal error is triggered by trying to connect to a blocked port. Therefore the
1288
1288
error object is propagated to both pending callbacks:
1289
1289
1290
1290
``` js
1291
1291
var connection = require (' mysql' ).createConnection ({
1292
- port: 84943 , // WRONG PORT
1292
+ port: 1 // example blocked port
1293
1293
});
1294
1294
1295
1295
connection .connect (function (err ) {
You can’t perform that action at this time.
0 commit comments