> Here is sample code: > <? > $connection = @mysql_connect("localhost", "jeff", "*****") > or die("Couldn't connect."); > if ($connection) { > $msg = "success!"; > } > ?> > > This is on my machine only used by me. I also tried connecting to > IP address and 127.0.0.1 and it still won't work. Thanks. > Jeff Oien Are your the 'root' rather than 'jeff'? Did you alter the grants and apply the password? If not do you need a password for connection? Tim Morris -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DB] MySQL Connect Problem Jeff Oien
- Re: [PHP-DB] MySQL Connect Problem Shahmat Dahlan
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- RE: [PHP-DB] MySQL Connect Problem boclair
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- Re: [PHP-DB] MySQL Connect Problem Wayne Bastow
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- RE: [PHP-DB] MySQL Connect Problem Rubanowicz, Lisa
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien
- Re: [PHP-DB] MySQL Connect Problem Shahmat Dahlan
- Re: [PHP-DB] MySQL Connect Problem Greg K
- RE: [PHP-DB] MySQL Connect Problem Jeff Oien