Hi Mario,

MySQL search my.cnf in this order(if I remember well):


   1. /etc/my.cnf
   2. /basedir/my.cnf
   3. /datadir/my.cnf
   4. $userhome/my.cnf


you have to make sure that you REMOVE ate least /etc/my.cnf from the system

try and let me know

Claudio





2010/10/15 ml ml <mliebher...@googlemail.com>

> Hi Claudio,
>
> i would like to compile it from source.
>
> Mario
>
>
> On Fri, Oct 15, 2010 at 2:08 PM, Claudio Nanni <claudio.na...@gmail.com>
> wrote:
> > hi,
> > do you want to compile or you can use binaries?
> >
> > Claudio
> >
> > 2010/10/15 ml ml <mliebher...@googlemail.com>
> >>
> >> Hello List,
> >>
> >> how do i install mysql COMPLETLY in a diffrent directory?
> >>
> >> Right now i am using:
> >> ./configure --prefix=/usr/local/mysql-5.1.42
> >> --sysconfdir=/usr/local/mysql-5.1.42/etc
> >>
> >> BUT, mysql still looks for /etc/my.cnf and for
> >> /var/log/mysql/mysql-bin.index ...
> >>
> >> So what configure options do i need if i want to install mysql
> >> seperatly in a folder?
> >> Do i also need --datadir? If yes, where sould my data dir be? In
> >> /usr/local/mysql-5.1.42/var?
> >>
> >> Thanks a lot,
> >> Mario
> >>
> >> --
> >> MySQL General Mailing List
> >> For list archives: http://lists.mysql.com/mysql
> >> To unsubscribe:
> >>  http://lists.mysql.com/mysql?unsub=claudio.na...@gmail.com
> >>
> >
> >
> >
> > --
> > Claudio
> >
>



-- 
Claudio

Reply via email to