Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing my.ini location for mysql 3

Status
Not open for further replies.

onlyra

Programmer
Feb 28, 2007
4
RO
Hy!
I am making a setup that installs a mysql 3.23.39(the software that setup installs runs only with this version). The setup detects other mysql versions and if another mysql 4 or 5 is found setup installs my mysql 3 on a different port. The problem is if the other mysql(4 or 5) have its my.ini located in the systems directory(c:\windows). This is a serious problem for me.
So my question: Is there a way to change the path of mysql's (version 3.23.39) my.ini location. I want to put my.ini in mysql's 3 directory.

In the registry for mysql 4 I can do something like this:
"C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt" --defaults-file="C:\Program Files\MySQL\MySQL Server 4.1\my.ini" MySQL4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top