-   Linux - Server (
-   -   running mysql_install_db (

foampile 03-17-2009 04:54 PM

running mysql_install_db
i installed mysql on Fedora 9 using yum.

when i tried to follow these post-install instructions:
i was stuck because i cannot find what to use as --basedir.

[/var/lib/mysql @ 17:51:44]>mysql_install_db --user=mysql --basedir=/usr/bin --datadir=/opt/mysql/mysql/data
FATAL ERROR: Could not find my_print_defaults inside --basedir

When using --basedir you must point either into a MySQL binary
distribution directory or a compiled tree previously populated
by 'make install'
so, when i look for 'my_print_defaults'
[/var/lib/mysql @ 17:31:32]>find / -name 'my_print_defaults' -print
i still get the same error saying that it can't find my_print_defaults in basedir but it is there. is this a bad error msg or something ?

kirukan 03-18-2009 12:53 AM

basedir means, where you have installed(directory) mysql

foampile 03-18-2009 10:38 AM

i installed it using yum, i.e. let it choose the dir.

i tried every dir where i could find reference to mysql but they all fail:

find / -name 'mysql' -print


All times are GMT -5. The time now is 12:25 PM.