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/[email protected]