List:General Discussion« Previous MessageNext Message »
From:Krishna Chandra Prajapati Date:October 19 2010 12:37pm
Subject:Re: How to Install mysql from source
View as plain text  
Hi,

There is a detailed readme (text file) within the file you have downloaded.
It will gives you the complete picture.

Krishna
cgi.com

On Mon, Oct 18, 2010 at 9:24 PM, ml ml <mliebherr99@stripped> wrote:

> Hello List,
>
> i am trying to install mysql on debian lenny from source. Here is what
> i did (yes, i did read the INSTALL-SOURCE):
>
> ./configure --prefix=/usr/local/mysql/
>
>  make -j 4 && make install
>
> cp support-files/my-medium.cnf /etc/my.cnf
> cd /usr/local/mysql
> chown -R mysql .
> chgrp -R mysql .
> bin/mysql_install_db --user=mysql
>
> FATAL ERROR: Could not find mysqld
>
> The following directories were searched:
>
>    /usr/libexec
>    /usr/sbin
>    /usr/bin
>
> If you compiled from source, you need to run 'make install' to
> copy the software into the correct location ready for operation.
>
> If you are using a binary release, you must either be at the top
> level of the extracted archive, or pass the --basedir option
> pointing to that location.
>
> ==> Okay, this my make some sense. Whats the _correct_ way to solve
> this? Which mysql_install_db options do i need here?
>
> bin/mysql_install_db --user=mysql --basedir=/usr/local/mysql/
> Installing MySQL system tables...
> 101018 11:50:13 [ERROR] /usr/local/mysql//libexec/mysqld: unknown
> option '--skip-bdb'
> 101018 11:50:13 [ERROR] Aborting
>
> 101018 11:50:13 [Note] /usr/local/mysql//libexec/mysqld: Shutdown complete
>
>
> Installation of system tables failed!  Examine the logs in
> /var/lib/mysql for more information.
>
>
> ==> Why does it also log to /var/lib/mysql ?
> find /var/lib/mysql/
> /var/lib/mysql/
> /var/lib/mysql/mysql
> /var/lib/mysql/test
> /var/lib/mysql/mysql-bin.index
>
>
> Cheers,
> Mario
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/mysql?unsub=1
>
>

Thread
How to Install mysql from sourceml ml18 Oct
  • Re: How to Install mysql from sourceSharl.Jimh.Tsin19 Oct
  • Re: How to Install mysql from sourceKrishna Chandra Prajapati19 Oct