mike rodent
mike rodent

Reputation: 15642

can I use MySQL service port directly with Node js?

This is a Windows 7 OS.

Actually it is MariaDB (fork of MySQL).

The port is the default one, 3306 ... I'm just wondering: is there any way to use this "way in" to the dbase system (using JS) without setting up a Node js server (e.g. with Express)?

Of course it is possible to use node-mysql without setting up a socket, just a connection... but it just crossed my mind that there's already a port present...

Upvotes: 0

Views: 53

Answers (1)

SLaks
SLaks

Reputation: 887433

Browser-side Javascript cannot open raw sockets.

Upvotes: 1

Related Questions