I was never successful in connecting to an external database and displaying results when I was working on v1.10:
https://forum.osticket.com/d/92479-connecting-to-external-database/5
My problem was that I couldn't get it to connect to the specific table (ok in connecting to the database).
Has there been any progress in making this option easier or better documentation?