Quoteth the install guide:

shell> cd mysql_installation_directory
shell> ./bin/mysql_install_db
shell> ./bin/safe_mysqld --user=mysql &

This is always the way to start a fresh mysql install.
Note that safe_mysqld gets the --user arg ( and is run in the background
with & ).
Also remember to set your root password! Check the manual for this as well.
dpk


----- Original Message -----
From: "Sheena Sidhu" <[EMAIL PROTECTED]>
To: "Dana Powers" <[EMAIL PROTECTED]>; "Sheena Sidhu"
<[EMAIL PROTECTED]>; "Mysql (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 11:41 AM
Subject: RE: cannot get mysqld to start


> Dana,
>      Thanks for looking into this further. I did all that, and ran the
> command mysql_install_db instead of mysql_install_db --user=mysql & as
they
> said in the install guide! I have no clue of the difference between the
two
> and reason why it should work on one and not on another.
> Would appreciate if you could shed some light on this.
>
> Thanks,
> Sheena.
>
> -----Original Message-----
> From: Dana Powers [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 4:20 PM
> To: Sheena Sidhu; Mysql (E-mail)
> Subject: Re: cannot get mysqld to start
>
>
> This is covered in the mysql manual here:
> http://www.mysql.com/doc/P/o/Post-installation.html
>
> First, you need to install the default databases ( installs
> mysql/host.frm ):
>
> bash> mysql_install_db
>
> Then tell mysql not to use InnoDB:
> put this in your /etc/my.cnf file:
> ....
> [mysqld]
> skip-innodb
> ....
>
> dpk
>
> ----- Original Message -----
> From: "Sheena Sidhu" <[EMAIL PROTECTED]>
> To: "Mysql (E-mail)" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 28, 2001 2:42 PM
> Subject: cannot get mysqld to start
>
>
> > Hello,
> >           I just installed mysql-max-3.23.41 on Linux. All went smooth
but
> > alas cannot get myqld to start. here is the log from the
<systemname>.err
> > file in mysql/data directory:
> >
> > 010828 14:26:30  mysqld started
> > Can't initialize InnoDB as 'innodb_data_file_path' is not set
> > 010828 14:26:30
> /usr/local/mysql-max-3.23.41-pc-linux-gnu-i686/bin/mysqld:
> > Can't find file: './mysql/host.frm' (errno: 13)
> > 010828 14:26:30  mysqld ended
> >
> > Now, I am interested in BDB only, so don't care about Innodb. Seems like
I
> > have to . But what do I do about the host.frm file ?
> > Gosh , can someone PLEASE help me here ???
> >
> > Thanks,
> > Sheena.
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to