When node.js connects to MySQL server using Sequelize, it seems that the port is basically connected to 3306, is there a way to change this port?
node.js sequelize.js
Sequelize is just a tool that maps business logic and databases, and there is no way to use it to change it. The only way is to replace the mysql settings file.
v5.6 and below can be modified in /etc/mysql.my.cnf
and v5.7 and above in /etc/mysql/mysql.conf.d/mysqld.cnf
.
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
912 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.