Hiromichi , could you try mysql_install_db --no-defaults --user=mysql
--basedir=/usr/local/mysql.
Without --no-defaults it can read the faulty parameter from already existing
/etc/my.cnf or whatever other default paths are searched.
> -----Original Message-----
> From: Hiromichi Watari [mailto:hiromichiwatari@stripped]
> Sent: Thursday, December 17, 2009 12:01 AM
> To: Davi Arnaut
> Cc: internals@stripped
> Subject: Re: mysql_install_db error
>
> Hi Davi,
> Thank you for your reply.
> I'm running it on Linux(Ubuntu) and here is the output of file command.
>
> hwatari@hwatari-desktop2:/usr/local/mysql$ file
> scripts/mysql_install_db
> scripts/mysql_install_db: POSIX shell script text executable
>
> I have looked for the reference to this option in mysql_install_db but
> couldn't find it.
>
> Thanks,
> Hiromichi
>
>
>
> --- On Wed, 12/16/09, Davi Arnaut <Davi.Arnaut@stripped> wrote:
>
> > From: Davi Arnaut <Davi.Arnaut@stripped>
> > Subject: Re: mysql_install_db error
> > To: "Hiromichi Watari" <hiromichiwatari@stripped>
> > Cc: internals@stripped
> > Date: Wednesday, December 16, 2009, 5:17 PM
> > On 12/16/09 7:58 PM, Hiromichi Watari
> > wrote:
> > > I get this unknown option --skip-bdb error, does
> > anybody have any idea about this ?
> > > Thanks,
> > > Hiromichi
> > >
> > >
> > > hwatari@hwatari-desktop2:/usr/local/mysql$ sudo
> > scripts/mysql_install_db --user=mysql
> > --basedir=/usr/local/mysql
> > > Installing MySQL system tables...
> > > 091216 16:45:13 [ERROR] /usr/local/mysql/bin/mysqld:
> > unknown option '--skip-bdb'
> > > 091216 16:45:13 [ERROR] Aborting
> > >
> >
> > This is on Linux? Somehow it appears that you are using the
> > perl version
> > of mysql_install_db. Could you reply with the output of:
> >
> > file scripts/mysql_install_db
> >
> > In the mean time, you can edit the file and remove the
> > reference to this
> > option.
> >
> > --
> > MySQL Internals Mailing List
> > For list archives: http://lists.mysql.com/internals
> > To unsubscribe:
> http://lists.mysql.com/internals?unsub=1
> >
> >
>
>
>
>
>
> --
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe:
> http://lists.mysql.com/internals?unsub=1