|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
Getting log file to work
I am putting
log = "C:\Program Files\MySQL\MySQL Server 5.0\sql.txt" into my .ini files and mysql wont start. I cant work out the syntax to tell mysql to ouput all the queries to a log file. Any help much appreciated.
__________________
-= Ricta =- |
|
#2
|
||||
|
||||
|
It should be something like
Code:
log = "C:/Program Files/MySQL/MySQL Server 5.0/sql.txt"
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) Understanding SQL Joins An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries |
|
#3
|
||||
|
||||
|
nuh.. change the slashes with no luck.
|
|
#4
|
||||
|
||||
|
Check the error log, it should tell you what's going wrong.
|
|
#5
|
||||
|
||||
|
oops.. had it before the [mysql] in the .ini file.
Thanks for the help |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Getting log file to work |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|