Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-17-2009, 04:54 PM   #1
Registered: Feb 2009
Posts: 50

Rep: Reputation: 15
Question 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 ?
Old 03-18-2009, 12:53 AM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

Rep: Reputation: 148Reputation: 148
basedir means, where you have installed(directory) mysql
Old 03-18-2009, 10:38 AM   #3
Registered: Feb 2009
Posts: 50

Original Poster
Rep: Reputation: 15
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing and running Frostwire on Acer One running Linpus Linux ricky1981 Linux - Newbie 1 12-19-2008 08:24 AM
mysql - mysql_install_db (error) n0p.cracker Linux - Server 1 08-04-2008 12:23 PM
Getting Smart running on Suse 10.1 on IBM T22 laptop running KDE 3.5.1 headdeball Linux - Desktop 2 01-20-2007 05:44 AM
mysql mysql_install_db problems xrado Slackware 3 05-09-2006 01:10 AM
mysql_install_db hus Linux - Newbie 1 05-11-2005 12:33 AM > Forums > Linux Forums > Linux - Server

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration