Gossamer Forum
Home : Products : Others : MySQLMan :

Getting compilation error?

Quote Reply
Getting compilation error?
I have installed 4 times... uploaded tar file (binary); used telnet and tar xvf mysqlman.tar... checked all permissions... I just get this error:

Software error:
Execution of /usr/local/etc/httpd/cgi-bin/mysqlman/mysql.cgi aborted due to compilation errors.
Please send mail to this site's webmaster for help.

Help is greatly appreciated!
Tommy

Quote Reply
Re: Getting compilation error? In reply to
Check the syntax of the script:

Code:

perl -c mysql.cgi


via telnet.

Regards,

Eliot Lee

Quote Reply
Re: Getting compilation error? In reply to
Switched direct_connect on and get the following error. With it off, all I get is a 500 error.

stillpoint: {10} % perl5 -c mysql.cgi
syntax error at mysql.cgi line 33, near "use $VERSION "

Tommy

Quote Reply
Re: Getting compilation error? In reply to
Elliot,

Thanks for your help... found the problem in the cgi file. I still can not get the login screen. With direct_connect =>1, I am able to go straight to the dbs. Any idea what could be keeping the login from working?

Tommy Gardner

Quote Reply
Re: Getting compilation error? In reply to
In Reply To:
Any idea what could be keeping the login from working?
May be you have not set your Cookies properly in your browser.

Regards,

Eliot Lee

Quote Reply
Re: Getting compilation error? In reply to
Thanks Elliot,

Cookies are set correctly... all I can get right now is the table list. The list of Databases does not show the DBs on tables. Got some work to do!?!


Quote Reply
Re: Getting compilation error? In reply to
Do you have permission to see the list of databases? Are you logging on with a user who can see it?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Getting compilation error? In reply to
Alex,

Thanks, I did get the list of dbs using a different user/password; When I select "edit", I get the following error:

MySQL said: You have an error in your SQL syntax near '(0x301ec4)' at line 1.

Query: SELECT * FROM db WHERE CGI=HASH(0x301ec4)



Quote Reply
Re: Getting compilation error? In reply to
Hi,

This is a known issue. It means you have an old version of CGI.pm. If you can upgrade it to the latest version it will fix it.

Cheers,

Alex

--
Gossamer Threads Inc.