title: NestJS + MySQL: how to connect to multiple databases without setting entities
body: <p>The <a href="https://docs.nestjs.com/techniques/database" rel="nofollow noreferrer">NestJS documentation about Databases</a> explains how to connect to MySQL using TypeORM and defining Entities.</p>
  
  <p>In my case, I have to connect to an MySQL server that has more than one database and I need to execute SQL queries directly (without using the Entity layer) and fetch their results. Sometimes I also need to run <strong>cross-database queries</strong>.</p>
  
  <p>How to do that using <a href="https://github.com/nestjs/nest" rel="nofollow noreferrer">NestJS</a>?</p>