Container cannot connect to the hosts' MySQL database

Hi,
Thanks for your helpful reply. I understood your scenario completely but just not sure how to implement it. I have amysql installed on the host and have observium container running on the same host. Can you please let me know how exactly I can get this to work with all the details?

Thanks in advance.