Re: nodejs/socket.io/mysql
A little more digging and I found the problem. All in formatting of the insert.
It should look like this:
var sql = "insert into `room` (`roomid`) values ('"+data+"');"
Noticed a few different formats for this command. I wonder why none of them worked until I found this one.
WooHoo!!
Subject
Written By
Posted
Re: nodejs/socket.io/mysql
June 26, 2020 01:12PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.