From: Hiromichi Watari Date: December 17 2009 10:58pm Subject: RE: mysql_install_db error List-Archive: http://lists.mysql.com/internals/37604 Message-Id: <666222.95708.qm@web55904.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Vladislav, Okuno-san and Davi, Mikiya's assertion was correct and Vladislav's solution corrected the probl= em. Thank you all for taking time to help me with the problem. Have a nice day. Hiromichi --- On Wed, 12/16/09, Vladislav Vaintroub wrote: > From: Vladislav Vaintroub > Subject: RE: mysql_install_db error > To: "'Hiromichi Watari'" , "'Davi Arnaut'" > Cc: internals@stripped > Date: Wednesday, December 16, 2009, 6:23 PM > Hiromichi , could you try > mysql_install_db=A0 --no-defaults --user=3Dmysql > --basedir=3D/usr/local/mysql.=20 > Without --no-defaults it can read the faulty parameter from > already existing > /etc/my.cnf or whatever other default paths are searched. >=20 > > -----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 > >=20 > > Hi Davi, > > Thank you for your reply. > > I'm running it on Linux(Ubuntu) and here is the output > of file command. > >=20 > > hwatari@hwatari-desktop2:/usr/local/mysql$ file > > scripts/mysql_install_db > > scripts/mysql_install_db: POSIX shell script text > executable > >=20 > > I have looked for the reference to this option in > mysql_install_db but > > couldn't find it. > >=20 > > Thanks, > > Hiromichi > >=20 > >=20 > >=20 > > --- On Wed, 12/16/09, Davi Arnaut > wrote: > >=20 > > > From: Davi Arnaut > > > Subject: Re: mysql_install_db error > > > To: "Hiromichi Watari" > > > 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=3Dmysql > > > --basedir=3D/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=3Dhiromichiwatari@stripped > > > > > > > >=20 > >=20 > >=20 > >=20 > >=20 > > -- > > MySQL Internals Mailing List > > For list archives: http://lists.mysql.com/internals > > To unsubscribe: > > http://lists.mysql.com/internals?unsub=3Dvladislav.vaintroub@stripped >=20 >=20 > =0A=0A=0A