我有一个简单的insert语句,应该使用包含我的连接字符串的$GLOBALS。问题是它没有插入数据。我做对了吗?<?query = "INSERT INTO bands (Name, Venue, Category)mysql_queryquery,$GLOBALS)
or die ("could not add to data
我正在尝试实现Oauth2身份验证,我遇到了一个GitHub回购,它符合我的描述,但使用的数据库是MongoDB,我想使用MySql。我想将此MongoDB身份验证代码转换为MySQLmongoose.connect('mongodb://localhostvar mysql = require('mysql');
var connection = mysql</e