added mysql db; fixed retrieve fact fqdn error