You have to authorize the i-doit installation to connect to the mysql database from 172.17.6.146, or maybe even from every host with an %. Check the mysql manual for more information about that. You also need to point out if your mysql host accepts tcp connections from other hosts that localhost.