note 10552 added to mysql_connect

From: Date: Wed, 10 Jan 2001 07:18:41 +0000
Subject: note 10552 added to mysql_connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-9536@lists.php.net to get a copy of this message
Just wanted to reiterate what a post above mentioned. I was getting "host doesn't have permission"-type errors with mysql_connect, read the post and realized that instead of passing my server's host name/address to mysql_connect, I should just use "localhost", e.g.: $link = mysql_connect ("localhost", "username", "password"); [Replacing "username" and "password" with the relevant entries, of course.] http://www.php.net/manual/function.mysql-connect.php

« previous php.notes (#9536) next »