Is it possible to connect mysql database for custom actions? If so is there any example code in github?
Yes, I use mysql.connector. Yo can check the developer guide.
mysql.connector