Unix Technical Forum

Basic troubleshooting help

This is a discussion on Basic troubleshooting help within the MySQL forums, part of the Database Server Software category; --> I'm fairly new to MySQL and I'm having some pretty basic troubleshooting problems. I have just installed MySQL from ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 10:27 AM
bhbrinckerhoff@gmail.com
 
Posts: n/a
Default Basic troubleshooting help

I'm fairly new to MySQL and I'm having some pretty basic
troubleshooting problems.

I have just installed MySQL from DarwinPorts on my OS X machine, and
although it's been running fine, I had not yet needed to modify the
default options. I recently needed to change the behavior or MySQL to
be more strict, so I determined that I needed to set sql-
mode=strict_trans_tables in my my.cnf file.

Unfortunately, I can't figure out for the life of me what my.cnf is
being used by mysqld. I tried modifying all the my.cnf files on my
machine (there were about 3, none of which were in /etc/ or /etc/
mysql), but that did not seem to work. I tried just putting the file
in /etc/ or /etc/mysql, but the option still did not change.

I looked around but I can't seem to find an option to mysqld to print
out where it is reading options from. I looked in the log file but I
don't see this information anywhere.

Can anyone tell me how to figure out which my.cnfs are being read by
mysqld? Once I determine which config files are being used I can
hopefully figure out a way to set the option quite easily.

Thanks!

Ben

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com