Hi, I'm having a having a hard time trying to insert some data into a mysql DB, so I'd like to know if there is some kind of error log that could help me. I've already looked into the binary log but it didn't help me. I also started mysql with --log, but the log file remains empty(everyone has permission to write it). Since I'm using PHP, I also looked under the apache log, but I didn't find anything in there.

Thanks in advance.

I've found a fix on the php side: I added "or die(mysql_error());" after the query and now it shows me a sintax problem.


By chance you find any mysql error log, let us know.. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.