MySQL Addon Failed to Connect

Hi All, anyone experience mysql issue as per above screenshot ?
I defined the mysql host as 172.18.2.8, but the test project return other host address 192.168.1.242. I am using sqlyog to connect to the mysql database and it works fine.
Appreciate if anyone could help, thank you.