MySQL and FreeBSD

Scott K. Laws scott at elvis.mu.org
Thu Oct 22 07:51:54 PDT 1998


On Thu, 22 Oct 1998, Butch Evans wrote:

> I am having trouble that I need to work out ASAP.    I get the following
> error when I try to run any of the .cgi files on the webserver.
> 
> DBI->connect error: Host 'localhost.sheltonbbs.com' is not allowed to
> connect to this MySQL server
> 
> I read in the MySQL docs that this is due to a problem with one of FreeBSD's
> library files.  I can bypass this problem at the command line by setting an
> environment variable "MYSQL_HOST" to the specific name of the server
> (billing.sheltonbbs.com).  Where should I look to fix this?

    You need to add a line to the MySql data base permissions table to
allow connections from your host see.
http://www.tcx.se/Manual_chapter/manual_Privilege_system.html#Privilege_system

Scott




More information about the freeside-users mailing list