fixed issues with mysql details