incorrectly initiated mysql/postgresql server class