Re: on Mac with Leopard need to set the .cshrc path to use GNU UNIX dev tools



On Thu, 03 Dec 2009 22:15:15 -0200, JRough <jlrough@xxxxxxxxx> wrote:
What I really want is mysql to work. I don't care about these UNIX
utilities unless they help the mysql command line to work.
Here is the command and error message:
janis-roughs-power-mac-g5:bin jlrough$ /usr/local/mysql*/bin/
safe_mysqld
/usr/local/mysql-5.0.82-osx10.5-powerpc/bin/safe_mysqld: line 199:
my_print_defaults: command not found
/usr/local/mysql-5.0.82-osx10.5-powerpc/bin/safe_mysqld: line 204:
my_print_defaults: command not found
The file /usr/local/mysql/bin/mysqld doesn't exist or is not
executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/mysqld_safe.
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more
information

so should I add this to my environment variable or $path?
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:
$PATH"
PATH=$PATH:/path/to/mysql*/bin/

the mysql executable is in the /bin/ directory but it doesn't fire.
thankx,



The mysql really need be in the path? With the above message from
the program, you can try to see the result:

cd to_your_sqldir # not bin, ok!?
../bin/mysqld_safe.
.



Relevant Pages

  • Re: finding mysql
    ... When I try just entering 'mysql' command I get this error message: ... installed be sure to start it and then try running the mysql command. ... command 'mysqld' returns the error message: ...
    (Fedora)
  • Re: finding mysql
    ... When I try just entering 'mysql' command I get this error message: ... installed be sure to start it and then try running the mysql command. ... command 'mysqld' returns the error message: ...
    (Fedora)
  • Re: MySQL gem problem on OS X [SOLVED]
    ... My mysql gem 2.7 is installed in the following directory: ... I have a symlink to the full name of the install to simplify the path name. ... using UNIX command cd) your way to each of those directories in separate terminal windows. ... but start with sudo. ...
    (comp.lang.ruby)
  • Re: finding mysql
    ... # /sbin/service mysqld start ... When I try just entering 'mysql' command I get this error message: ... installed be sure to start it and then try running the mysql command. ...
    (Fedora)
  • Re: Mysqldump password issue
    ... If I use the command: ... I believe that the '-p' flag to MySQL ... is a bit painful in that regard as it doesn't allow whitespace between ... just quote around the -p like so: ...
    (freebsd-questions)