database_create_post.sh - a bug

wattie

Verified User
Joined
May 31, 2008
Messages
1,206
Location
Bulgaria
In FreeBSD 9.1 - I tried adding a new database and I got:

Code:
/usr/local/directadmin/scripts/custom/database_create_post.sh: mysql: not found

The last line was:

Code:
mysql -e "GRANT ALL ON ...

I changed it to

Code:
/usr/local/bin/mysql -e "GRANT ALL ON ...

and there is no error anymore.
 
It's not a bug, it's a custom script :) Just add /usr/local/bin/ to $PATH variable in your script if you want to call mysql without a full path to it.
 
Back
Top