Failed to connect to MySQL: Connection refusederror in getUserInfoById function