Ok, to the right of where that button is, there is a gear icon, click on that and then click on debug and then click on the arrow again to reopen the page.
The 500 means there is a server error, the debug will give us more information about the error. (usually)
One would assume that that name needs to match the name of the database that was initialized, namely: db.
I then create a database query but there is no linkage to the database db in the setup unless you click on the dropdown and the only option to select is “db”, which makes sense, given it is the only database I have defined.
What test querry.
And when I get to the generator I am back where I was when I started no data - no triangle by the data in the server connect window for the BS4 Table Generator
Click on the database icon (the fourth icon on the left) and then click on your database connection (named db in this case). Click on the properties box at the bottom to expand it.
You have shown that the direct database connection is working because you can see the tables and retrieve the data when you click on fetch data.
Click on Server Connect Connections and see if the information there matches what is in your Direct Database Connection.
Here is the difference. The Direct Database Connection creates well a direct database connection. That is how you see the tables and the data when you click on the database tab. The Server Connect Connections is what allows server connections to interact with the database. Both must be set up to make things work.
There is only a database “test” button for the Direct Database Connection. There is no test for the Server Side Database. And the Direct Database shows the connection is ok