Thank you Todd, that works when I'm working locally, but I want to be able to demo this to people, and I would also like to be able to continue development from locations other than this. Using localhost does work, I just want more. ehehhe
>From: "Todd Williamsen" <[EMAIL PROTECTED]> >To: "'Curtis Gordon'" <[EMAIL PROTECTED]> >Subject: RE: i own it but i can't use it %$#$@ >Date: Thu, 6 Dec 2001 18:45:17 -0600 > >Is mysql on a separate machine? If not, then use this to connect: > >$db = mysql_connect("localhost","username","password"); > > > >Thank you, > >Todd Williamsen, MCSE >home: 847.265.4692 >Cell: 847.867.9427 > > >-----Original Message----- >From: Curtis Gordon [mailto:[EMAIL PROTECTED]] >Sent: Thursday, December 06, 2001 6:06 PM >To: [EMAIL PROTECTED] >Subject: i own it but i can't use it %$#$@ > > >Hi again, thank you to all that helped me out with my last "query". I'm >on a linux box now (YIPEEEEEE) I have created a database, and I have >actually managed to load data in that I backed up from a win32 based >mysql >database (I'm toally pumped at this point), I set some permissions on >the >dir that contains the scripts and pages I need to interact with and am >able >to view HTML pages just fine, PHP seems to be reacting properly as well. > >I get this though when I try to login though. > >Warning: MySQL Connection Failed: Host 'dork.noconnect.net' is not >allowed >to connect to this MySQL server in /path/to/html/includes/dbcon.php on >line >2 > >//dbcon.php contains the connection information below > >Here is "how" I'm trying to login: > ><? >$db = mysql_connect("ip address of server","username","password"); > >//I have tried the username and pass in a console as both root and a >normal >user and was able to manipulate the db. > >mysql_select_db("database name",$db); >?> > >Please help! > >_________________________________________________________________ >Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > >--------------------------------------------------------------------- >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 <[EMAIL PROTECTED]> >To unsubscribe, e-mail ><[EMAIL PROTECTED]> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp --------------------------------------------------------------------- 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 <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php