I installed invoice ninja on FreeBSD.
But there is a step that tries to connect to the database, and occur the error:
Error Output:
================
sh: mysql: not found
The mysql is installed in FreeBSD and is in system path.
The problem (as I can see), invoice ninja installation is trying to locate mysql binary in paths: [‘/usr/sbin’, ‘/usr/bin’, ‘/sbin’, ‘/bin’].
But default binary path in FreeBSD is /usr/local/bin/
It is possible to add this absolute path to find binary on the system?
To temporary solve the problem, I created mysql symbolic link in /usr/bin/ and the installation goes successfully.
Thanks for your reply, but I don’t know if it this location.
The installation have a test database connection button, that I think call this database.php you mentioned, that uses php-mysql driver. And this connection worked fine, is successfully.
The next installation step after “next”, the application tries to execute a command inside the host, that I think app should run mysql from that PATH.