It turns out on the Mac OSX that the file is called my.cnf, and it is located 
in /etc. Below is a very elementary way of editing the file:

Launch the Terminal application and a new shell window will show up.
Change directory by entering cd /etc
Enter sudo sh
Enter your password
Copy the file to your desktop: cp my.cnf /Users/(your account)/Desktop
Edit the file using Textedit.
Add the line sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Save and overwrite.
Copy the file back to /etc cp /Users/(your account)/Desktop/my.cnf /etc 
The previous version will be renamed to my.cnf.old

That's it!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919946#3919946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919946


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to