This error seems to indicate that your mysql server is running with the
require_secure_transport=ON, which means that the connection to your mysql server should only be made securely (MySQL :: Security in MySQL :: 5.1 Configuring MySQL to Use Encrypted Connections).
This is not a “default” mysql configuration (MySQL allow SSL connection to be made by default, but does not force the connection to be secure by default).
There are 2 solutions here:
- You can either remove this line (
require_secure_transport=ON) from your mysql configuration if it’s not a requirement - but that will also allow insecure connection to be made (Which is ok on your local machine). See this post for a how-to.
- You can also provide to the
new Sequelize() creation the required parameters to force the connection to be made with specific parameters, as shown here.
In your case, it seems like it’s the project generation that is failing. If that’s the case, solution 1 will be the best, at least until you fully created your project. Once it is created, you should be able to re-setup
require_secure_transport=ON if that is a requirement for you.
Let me know if that helps