[thelist] MYSQL Connecting problems

Anthony Baratta Anthony at Baratta.com
Wed Feb 26 16:54:01 CST 2003

At 02:41 PM 2/26/2003, CDitty wrote:

>This is my connection string.
>$db = mysql_connect("mysql.addr.com", "$userid", "$password");

Shot in the dark:

You shouldn't need "" around the $Variables.

Does this user have remote or local access to the DB? Is the DB local or

Does the Web Server work from a different IP or HostName with the other
scripts?? Does that hostname have local or remote rights to the DB??
Anthony Baratta
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

More information about the thelist mailing list