To create Discourse records from MySQL without manual input, use a ready-made scenario.
Starts when: Schedule
Then: My Sql
Then: Intercom
You can launch this MySQL + Discourse integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.