If you’re trying to read data from an existing database, you need to use the Database Connector.
The database you connect to with the project->setting->database option is expected to be entirely owned by the Mendix runtime. It runs all of the DDL scripts to create and alter tables. It expects to own all of the tables and indexes in that database. Therefore, an existing table in that database cannot be read by the platform as you’re thinking.