Database Security. Database Auditing. Database Caching. Database Masking. Get it now

Install error

in

Hi everybody!

Congratulations for this fw, y test it on the demo, and seems to be great.
I haver a problem with the installer on Debian etch:


debian:~/SQL# dpkg -i greensql-fw_0.9.4_i386.deb
(Reading database ... 59938 files and directories currently installed.)
Preparing to replace greensql-fw 0.9.4 (using greensql-fw_0.9.4_i386.deb) ...
Stopping greensql-fw: greensql-fw.
Unpacking replacement greensql-fw ...
Setting up greensql-fw (0.9.4) ...
/etc/greensql/greensql.conf created/modified. See greensql.conf(5) for details.
A backup of the old config file is at /etc/greensql/greensql.conf.dpkg-old.
Values were preserved, except for database settings.
/var/lib/dpkg/info/greensql-fw.postinst: line 85: mysql: command not found
Creating database...
/var/lib/dpkg/info/greensql-fw.postinst: line 90: mysqladmin: command not found
dpkg: error processing greensql-fw (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
greensql-fw
debian:~/SQL#

The line #85 of the /var/lib/dpkg/info/greensql-fw.postinst file contain:
if mysql $MRO -BNe 'show databases' | grep -q "$DATABASE"; then

The line #90 of the /var/lib/dpkg/info/greensql-fw.postinst file contain:
mysqladmin $MRO -f create $DATABASE > /dev/null

It's seems it's a MySQL problem? im using XAMPP for Linux ver 1.6.8a.

Thanks!

Comments

I suppose mysql and

I suppose mysql and mysqladmin are not in your path. Run the following command before installing greensql-fw command:

export PATH="XAMP_PATH/bin:$PATH"

Change XAMP_PATH to the directory where XAMP is installed.

It's work! Thanks for you

It's work!
Thanks for you help Yuli ;)

Cheerz.

Back to top