Link to home
Start Free TrialLog in
Avatar of Paer Toernell
Paer ToernellFlag for Thailand

asked on

Finding Mysql error log

Im running  Windows7 / Mysql5.1
According to various pages the error log should be in: /usr/local/mysql/bin/mysql
However, this partial path name is flawed. When I use "search everyting", I dont even have a folder name usr... Can someone provide a complete and working path to the MySql ERROR log?
Avatar of Papertrip
Papertrip
Flag of United States of America image

According to various pages the error log should be in: /usr/local/mysql/bin/mysql
That's a Unix/Linux path to the mysql binary ;)

Check this out:
http://dev.mysql.com/doc/refman/5.1/en/windows-installation-layout.html
ASKER CERTIFIED SOLUTION
Avatar of maeltar
maeltar
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Papertrip

Im running  Windows7 / Mysql5.1
@Papertrip

Im running  Windows7 / Mysql5.1
That's why I pasted a link to the MySQL 5.1 Installation Layout on Microsoft Windows.
Avatar of Paer Toernell

ASKER

Yeah, now i find the folder - but where is the error log where queries witch resulted in an error is stored?
Sorry Papertrip, it's early and not enough coffee yet....
You should have a file in the /data directory mysql_error.log
Oh wait, you want to see the error that the queries returned ?

That is not the place to look....

Post the bit of code you are having problems with and will help out
The error i can see, but i need to know the exact MYSQL code that generated the error. Im using Mydac from Devart to send Mysql code from Delphi and in this case I cant see exactly what code is sent - so i want to solve this from the "other side" and see exactly what code Mysql receives.