You are here: Re: MySQL error reporting « PHP Programming Language « IT news, forums, messages
Re: MySQL error reporting

Posted by Paul Furman on 03/30/07 00:37

Jerry Stuckle wrote:
> Paul Furman wrote:
>
>> How do I turn off MySQL error reporting? I set error_reporting(0); but
>> that doesn't seem to be working.
>
> That turns off PHP error reporting.
>
> What problem are you having?

Sorry for the slow reply. Any SQL error appears on the screen, and
sometimes that includes info I don't want included. Hmm, now that I
think of it that may be a built in error reporting system (I didn't
write all of this system). In any case is this a risk and is there a way
of turning it off? The worst case I recall was something like:

ERROR: unable to connect to the sever using user 'admin' and password
'mysectretpassword'

Ha ha, I made that up as I don't recall that one but I don't want
anything like that to happen again!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация