Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

ADMIN.CGI (accessing hyperlinks problem)

Quote Reply
ADMIN.CGI (accessing hyperlinks problem)
I go to:
http://localhost/cgi-bin/admin/admin.cgi

I click on (the hyperlinks to the left) ie: (Links), View, Add, Delete, Modify, Validate,
Verify, Status, Duplicates...etc.

and by doing so will gives me this (or similar):


Content-type: text/html

Software error:

DBSQL (1659): Fatal Error: Unable to connect to the SQL server. Reason: Access denied for
user: '@localhost' to database 'Links' at Links/Admin_HTML.pm line 525

For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.



Solutions?


Troubleshooting facts:
1) Running RH 6.1
2) MySQL without username/password to get in
3) anything else, just ask...

?

Frown



Quote Reply
Re: ADMIN.CGI (accessing hyperlinks problem) In reply to
Code:
DBSQL (1659): Fatal Error: Unable to connect to the SQL server. Reason: Access denied for
user: '@localhost' to database 'Links' at Links/Admin_HTML.pm line 525

You need to pass it a user of some sort, that's what it's asking for. It can't figure out 'who' is running the program and making the request.

You could probably set mysql up to accept anything on '@localhost' but it's trying to figure out what the program is running as, and is coming up with nothing.

Make sense?

Quote Reply
Re: ADMIN.CGI (accessing hyperlinks problem) In reply to
Your mysql settings have changed since you last ran setup.cgi. Re-run setup.cgi and enter in the username/password to connect to mysql as.

Cheers,

Alex