how to hide mysql errors ???

hello

sometimes people come to use some bad code to mahe the error of php appear and i think all we know how to hide the errors to become visible for visitors
but
i do not know how to hide the errors of mysql to appear i need it to be in log like what we do with php

any help how to hide mysql errors ???

 

 

 

 

Top