List:General Discussion« Previous MessageNext Message »
From:Bruce Ferrell Date:November 16 2001 3:16pm
Subject:Re: CGI and MySQL
View as plain text  
George,

At a minimum, you have to setup a user with permissions to access the
database.  Once you have that done I think it might work

George.Coicici@stripped wrote:
> 
> Hi,
> I'm currently working on a project in which I am working with CGI scripts
> for a web based user interface, and MySQL for my database. I'm a student at
> a University of Waterloo (in Canada). The program is a hotel reservation
> system (irrelevant) and I'm coding in C and C++. The system is being
> developed on a Solaris box. , and my problem is that the CGI script is on a
> different server than the one where my database is one. In fact, my
> database is located on my Win2k box at home. I noticed that the
> mysql_real_connect() method in the MySQL C API, has a specification for the
> IP address, and port. However when I specify the IP address of my box at
> home and a port 3306 (definitely not in use) and leave the password and
> user NULL (because I haven't set up a password and user) it tells me it
> cannot connect to the MySQL server on port 3306. I know the problem isn't
> that I'm not running the daemon, because I check that already. Is there
> something I'm missing or is this even possible???
> 
> Please reply to the above email address AS WELL AS TO:
> georgecoicici@stripped
> 
> I appreciate any assistance you can offer.
> 
> Thank you
> George
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread91497@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-bferrell=baywinds.org@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-- 
Bruce

One day at a time... One second if that's what it takes
Thread
CGI and MySQLGeorge.Coicici16 Nov
  • Re: CGI and MySQLGerald Clark16 Nov
  • Re: CGI and MySQLJoe Ellis16 Nov
  • Re: CGI and MySQLBruce Ferrell16 Nov