Re: [Koha] sh: mysql: command not found
MacBook:~ anas$ which mysql /usr/local/mysql/bin//mysql I added in httpd.conf file SetEnv mysql "/usr/local/mysql/bin//mysql" but with no results -- Anas Le 9 avr. 09 à 23:05, Chris Cormack a écrit :
2009/4/10 Galen Charlton <galen.charlton@liblime.com>:
Hi Anas,
2009/4/9 Anas Ghrab <anas.ghrab@saramusik.org>:
I could install the last version of koha (koha-3.00.01-stable) on Mac os x 10.5.5. But in the third step of the web installation, I get this error : sh: mysql: command not found
The web installer tries to run the mysql command directly. You may need to add a suitable SetEnv PATH to your Apache configuration and try again.
To help find the right path, you could run which mysql from the commandline. That should tell you where mysql lives on your system.
Chris _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
2009/4/10 Anas Ghrab <anas.ghrab@saramusik.org>:
MacBook:~ anas$ which mysql /usr/local/mysql/bin//mysql
I added in httpd.conf file
SetEnv mysql "/usr/local/mysql/bin//mysql"
but with no results
Just to tidy this up We fixed this by symlinking /usr/local/mysql/bin/mysql to /usr/bin/mysql and then the installer completed fine Chris
I had encountered the same problem with OS X Server 10.8.3 (Mountain Lion) and the symlink fixed the problem. I just want to check if the path to mysql is hard-coded to "/usr/bin/mysql", uses the result of "which mysql" command or simply whatever paths are set in the PATH environment variable? From here, I can then deduce a working solution besides symlinking. -- View this message in context: http://koha.1045719.n5.nabble.com/sh-mysql-command-not-found-tp3058713p57685... Sent from the Koha-general mailing list archive at Nabble.com.
participants (3)
-
Anas Ghrab -
Chris Cormack -
Victor Pang