0

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.

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by nav33n
0

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.

thanks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.