Yes, I installed with lumber. Project name is Skipper Test 3.
I have not been able to access the data at all. The tables are there in the left column, but the error occurs when I try to view any actual data. Note that I used the exact same installation process to create a second project using your demo database, and that project works fine. It’s only the mySQL project that is failing. I have confirmed that I can connect to the mySQL database from another Docker container and view the data.
By evaluation, I mean that I am evaluating Forest to see if it will meet our needs, so I’m running mySQL and the local server in Docker, and I can wipe them out and start over as needed to help diagnose the problem.
Yes, the failure log entries are coming from my local server that was generated by lumber.
Unless you have a very specific installation, DATABASE_SSL should be false. Also, you have to verify that the database URL string contains your actual host, port, user, password and database name. You could also try to replace the hostname with the actual IP (e.g: localhost vs 127.0.0.1)
If everything seems good to you, you could try to create a minimal project to check if it’s a problem related to Lumber or if it’s a problem about MySQL connection with node in your dev environment.
Then create a index.js file with the following content (source):
const Sequelize = require('sequelize');
const sequelize = new Sequelize('mysql://user:password@localhost:3306/mydatabase');
sequelize.authenticate()
.then(() => {
console.log('Connection has been established successfully.');
})
.catch(err => {
console.error('Unable to connect to the database:', err);
});