[thelist] php and my sql

Todd Manaze8m at ev1.net
Tue Jun 19 19:29:21 CDT 2001


I found the problem, the user name was case sensitive. "Manaze" 





----------------------------------------------------------------
Todd Manaze           
www.manaze.8m.com   
[Design | Hosting | Flash | Branding | Illustration]
www.brewermc.com
Web solutions for small business
----- Original Message ----- 
From: "Todd" <ToddManaze at ev1.net>
To: "theList" <thelist at lists.evolt.org>
Sent: Tuesday, June 19, 2001 7:16 PM
Subject: [thelist] php and my sql


> I am trying to connect to mySQL but i am having trouble.
> 
> $user = "manaze";
> $pass = "password";
> $db =  "manaze";
> $link = mysql_connect( "localhost", $user, $pass );
> if ( ! $link )
>  die( "Couldnt Connect" );
> print "connected<p>";
> mysql_select_db( $db)
>  or die( " couldnt open $ db: " .mysql_error() );
> print " succesfully selected database \"$db\"<p>";
> mysql_close( $link );
> 
> 
> 
> 
> ----------------------------------------------------------------
> Todd Manaze           
> www.manaze.8m.com   
> [Design | Hosting | Flash | Branding | Illustration]
> www.brewermc.com
> Web solutions for small business
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 
> 





More information about the thelist mailing list