I found this tip on a site.
check problematic queries using MySQL
server running with option
–no-defaults and compare result.
I will like to know how to start mysql with –no-defaults?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In short, from the commandline:
mysql --no-defaultsedit: I can expand on that if you tell me which os you are running, etc…
in a nutshell, the –no-defaults options tells the mysql client not to process my.ini and my.cnf files and it uses the built in values so your millage may very depending on your environment
There are also –defaults-file=/path/to/file and –defaults-extra-file=/path/to/file options that allow you to replace or add to the default configurations, respectively
@wallyk: These are specifically options for the client I was talking about but yes, the same options exist for the daemon mysqld, i ommited the d since the question did too.
These command-line options work for both the
mysqlandmysqldclient and daemon programs