Toad 12.1 has issues connecting to Oracle 19C. Newer versions of TOAD should work, as should 10.5. The below workaround in Toad 12.1 will also work to allow database connections.