Gossamer Forum
Home : Products : Others : MySQLMan :

Can't login to MySQL, and CGI Errors

Quote Reply
Can't login to MySQL, and CGI Errors
I'm new to MySQL but have learned quite a bit in the last week. I am trying to get MysqlMan working but it keeps saying "Could not login to MySQL". I've tried many different login combinations, none of which seem to work. I am on a virtual server running BSD/OS. MySQL version is 3.22.25. When I telnet to the server, I can log into MySQL with the 'root' user using the password I set. If I do a 'status' in mysql, it says "Current user: root@localhost". Doesn't this mean that my host is 'localhost'? If so, in MysqlMan I type in:
Host: localhost
User: root
Password: ***** (my password)
This should work...right?

Here is the top part of mysql.cfg:
-------------------------------
# Auto Set the current path.
BEGIN {
use vars qw/$script_path/;
# $0 =~ m,(.*?)[^/\\]+$, ? ($script_path = $1) : ($script_path = '.');
$script_path="/usr/local/etc/httpd/cgi-bin/mysqlman";
}

# --------------------------
# CONFIG HASH |
# --------------------------

%config = (

# FILES
# --------------------------------------------------------
# the url to support.cgi. No Trailing Slash Please.
script_url => "mysql.cgi",
home_url => "http://www.thefew.com",
template_dir => $script_path . "/templates",
...
...and the rest of it...
...
------End mysql.cfg


I also noticed that I have my home_url set to http://www.thefew.com, yet when I try to login, the URL in the location bar of netscape changes to http://thefew.safepages.com. Safepages is my virtual server host, and I can get to my site by typing: www.thefew.com, thefew.com, or thefew.safepages.com.

One other thing is that I have MysqlMan 1.0. I've downloaded it again yesterday, but after unzipping it, the script is still version 1.0, not 1.01.

I just purchased the DBManSQL script (should get it in about 2 days), but if I can't get MysqlMan to work and interface with MySQL, how the heck am I supposed to get DBManSQL to work!

If anyone can help I'd greatly appreciate it. I'm very fluent in Perl/CGI...MySQL is not my forte...yet!
You can see the script at http://www.thefew.com/cgi-bin/mysqlman/mysql.cgi

Thanks,
AJ
Subject Author Views Date
Thread Can't login to MySQL, and CGI Errors TheFew 4138 May 31, 2000, 1:40 PM
Thread Re: Can't login to MySQL, and CGI Errors
pugdog 4081 May 31, 2000, 10:03 PM
Thread Re: Can't login to MySQL, and CGI Errors
TheFew 4053 Jun 1, 2000, 1:39 PM
Post Re: Can't login to MySQL, and CGI Errors
pugdog 4051 Jun 2, 2000, 8:42 PM