Mysql isn't the only database for zabbix (think of postgres for exemple).

Maybe a ressources "database_type" default to "mysql" is a good idea.

If you don't want to do the postgres work, just do something modular in this file and I will do my pull request.