Fixed SQL configuration