In CP under primary setting-->logging tab you will see display SQL errors wink