You can get your database connection details from whoever set up the database. You'll also need to get them to whitelist the Retool IP address.
Create a new resource in Retool, and select "MySQL" as the type.
Enter your database connection details.
You can now select your newly-created MySQL resource from the Resource dropdown when creating queries in your Retool apps. You can toggle between SQL mode for raw SQL statements or the GUI mode for structured writes.
You can display the results of MySQL queries as with any other query in Retool:
Updated 4 months ago