Unix Technical Forum

my.cnf placement

This is a discussion on my.cnf placement within the MySQL forums, part of the Database Server Software category; --> I am told that creating a my.cnf file, with the client's user id and password, and placing it it ...


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, 08:57 AM
Ted
 
Posts: n/a
Default my.cnf placement

I am told that creating a my.cnf file, with the client's user id and
password, and placing it it the user's home directory will provide some
protection of the user id and password. I have also been told that
placing one in each user's home directory in unix, will allow MySQL to
determine the user's credentils from the my.cnf file, rather than
request them each time the user tried to connect to it. The alleged
benefit is that the user id and password is not visible on the command
line or to those users able t view system status.

1) Is this true?
2) Can it be made to work in a similar fashion on Windows?
3) On my own machine, I placed my.cnf in the root directory of the C:
drive. This seems to work, but I bet its effects are global. Can I
make its effects local to a specific user by placing it in C:\Documents
and Settings\specific_user_uid?
4) Do you have any specific tips (or a list of yuour favorite best
security practices) for improving the security of an application that
uses MySQL as the db back end?

Thanks

Ted

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 04:13 PM.


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