NO mySQL errors displaying?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

NO mySQL errors displaying?

Postby rhendriksma » 19. April 2012 04:01

When I try to run an mySQL query from a php file, it does not run and I do not get an error. Is there a way to tun on errors? The mySQL error log does not indicate why the query did not run.

Thanks
rhendriksma
 
Posts: 1
Joined: 19. April 2012 03:57
Operating System: Windows 7

Re: NO mySQL errors displaying?

Postby Altrea » 19. April 2012 04:57

Hi rhendriksma,

Too bad you don't provide your sourcecode so that helpers can see whats going on there.
And you don't really explain what you are doing. So i can just guess that you don't use the php mysql_error() function

MySQL errors will not be displayed automatically. You have to program its output by yourself.

best wishes,
Altrea

P.S.: It would be polite to start your threads with some sort of greeting and end it with a complimentary close. It doesn't cost that much time compared with the time a helper efforts to try to solve your problems.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 91 guests