fix sql parameter compilation, change test ports