Mikrotik Script connect mysql server

Hi all,

¿Is possible to connect from script to mysql server to retrieve and write data to MySQL database?

xavier

Why not the other way around? Connecting to Mikrotik router to write/read config/data?

Because I have no access to any other device in the network to perform this action. I need to read some data from MySQL in a mikrotik script and report via SMS when MySQL service is not online.

You can not do that with RouterOS.

Is it possible to add a simple web service on your database server? You could use the fetch command to monitor that.