我从Node.js开始,我试图根据它的文档()与Sequelize建立一个简单的连接。const db = new Sequelize('chat','root','root',{ port: 3306, .catch(err => {
console.error('Unable to connect to the database:'
我做了一些简单的事情来连接到MySQL并选择一个数据库:// these variables are previously declared and initialized
$selected_db = mysql_select_db($db_name, $conn) or die(mysql_error())