Discussion:
[OT] 2 mysql -> 1 server
lore
2007-05-04 07:27:30 UTC
Permalink
hi all,
For testing, i need to realize a server with 2 version of mysql that listen
different ports. The first one is a 4.1 installed with swup, the second one
( 5.0.37 ) compiled.
Each version use /etc/my.cnf and i can't find out the way to change it.
Could anybody help my please?

thanks a lot

lore
--
- buena mista social ska -
Morten Nilsen
2007-05-04 08:41:17 UTC
Permalink
Post by lore
Each version use /etc/my.cnf and i can't find out the way to change it.
Could anybody help my please?
Run ./configure --help and look for sysconf

If that doesn't pan out, grep -r the source for "etc"

--
Cheers,
Morten
:wq
lore
2007-05-04 10:12:33 UTC
Permalink
Post by Morten Nilsen
Post by lore
Each version use /etc/my.cnf and i can't find out the way to change it.
Could anybody help my please?
Run ./configure --help and look for sysconf
If that doesn't pan out, grep -r the source for "etc"
thanks morten, i've found this option in the ./configure --help

--sysconfdir=DIR read-only single-machine data [PREFIX/etc]

now i try to recompile and let you know

--
Post by Morten Nilsen
Cheers,
Morten
--
- buena mista social ska -
lore
2007-05-04 12:37:51 UTC
Permalink
Post by lore
Post by Morten Nilsen
Post by lore
Each version use /etc/my.cnf and i can't find out the way to change it.
Could anybody help my please?
Run ./configure --help and look for sysconf
If that doesn't pan out, grep -r the source for "etc"
thanks morten, i've found this option in the ./configure --help
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
now i try to recompile and let you know
Seems that whitout options in the ./configure procedure mysqld (compiled)
look for my.cnf in the main install directory. I put it there and set port
and default socket and now i've 2 server mysql on the same machine


--
Post by lore
Post by Morten Nilsen
Cheers,
Morten
--
- buena mista social ska -
--
- buena mista social ska -
Loading...