MacImage
Registered
im trying to execute a mysql script from php, using php's shell command. i build the script just fine and can verify that it executes from the terminal, but when i call it from php, apache's log file shows:
zsh: command not found: mysql
the format of the command is:
mysql -u "username" --password="password" "databasename" < "script location"
why would zsh not find the mysql command when i can run it from the OSX terminal application without a problem?
thanks for the help
zsh: command not found: mysql
the format of the command is:
mysql -u "username" --password="password" "databasename" < "script location"
why would zsh not find the mysql command when i can run it from the OSX terminal application without a problem?
thanks for the help