Error Could Not Find ./bin/my_print_defaults
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 1,057 Star 29,539 Fork 14,102 Homebrew/legacy-homebrew Code Issues 5 Pull requests 0 Projects 0 Pulse Graphs mysql_install_db => "FATAL ERROR: Could not find could not find ./bin/my_print_defaults mysql ./bin/my_print_defaults" #5407 Closed gagarine opened this Issue Apr 28, 2011 · 9 comments Projects
My_print_defaults Command Not Found
None yet Labels None yet Milestone No milestone Assignees No one assigned 9 participants gagarine commented Apr 28, fatal error could not find mysqld 2011 On a fresh install of mysql $brew install mysql
$ mysql_install_db
FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software my_print_defaults not found 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.
They are a bug on mysql http://bugs.mysql.com/bug.php?id=57062 but I'm not sure is the same. gagarine commented Apr 28, 2011 Ok I found it. You need to run those command. It was specified during the
Fatal Error: Could Not Find My-default.cnf Ubuntu
install but I don't watch my screenn when somthing compiliing assuming than homebrew was doing all the work form me. $unset TMPDIR $mysql_install_db --verbose --user=whoami --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp I don't close the issue because I think "unset TMPDIR" can be done in the formula. no? adamv commented May 5, 2011 unset needs to be run in the current shell; doing it in the formula won't help. adamv closed this May 5, 2011 xavi- commented May 11, 2011 Thank you very much. This is exactly what I needed. I also missed those commands. Is there's some way to highlight it during the installation process? Maybe change the text to red? henrysingleton commented May 23, 2011 Thanks for this - I totally missed it as well and spent a good 30 mins trying to figure it out :) MySQL is fully working now, though I think I need to figure out how to make it run automatically on startup. et commented Jul 24, 2011 @henrysingleton launchctl load -w /usr/local/Cellar/mysql/5.5.12/com.mysql.mysqld.plist bernardeli commented Aug 21, 2011 missed that too. thanks for this solution. saurabh89 commented Feb 12, 2013 still I am getting the same error.I did these two steps unset TMPDIR $mysql_install_db --verbose --user=whoami --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysq
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About sudo mysql_install_db command not found Us Learn more about Stack Overflow the company Business Learn more about hiring mysql_install_db is deprecated developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
Error The Server Quit Without Updating Pid File Mac
Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Mysql_install_db cannot find file up vote https://github.com/Homebrew/legacy-homebrew/issues/5407 6 down vote favorite 3 I am trying to use mysql_install_db I am getting the following error: FATAL ERROR: Could not find ./bin/my_print_defaults 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 http://stackoverflow.com/questions/17601341/mysql-install-db-cannot-find-file the --basedir option pointing to that location. I've tried using which my_print_defaults It returns: /usr/local/bin/my_print_defaults So I try the command: mysql_install_db --base-dir=/usr/local/bin/ I still receive the same error, though. Please help. mysql database install share|improve this question edited Sep 9 '15 at 4:02 asked Jul 11 '13 at 19:02 in code veritas 2,20731839 well did you compile mysql from source? –Dany Khalife Jul 11 '13 at 19:10 Sounds like a broken MySQL install. Which platform are you trying to install on? –tadman Jul 11 '13 at 19:13 @DanyKhalife Mountain Lion. I'm just not sure what to do. There are so many different suggestions out there. Seems like I'm just digging a hole. –in code veritas Jul 11 '13 at 19:19 Going to uninstall a bunch of gems/brews and try to install everything. –in code veritas Jul 11 '13 at 19:47 IMHO it's much easier to install the MySQL version packaged for OS X. –Cfreak Jul 12 '13 at 19:21 add a comment| 5 Answers 5 active oldest votes up vote 18 down vote accepted Annoyingly, this just means you have to be in the right director