Hmmm
| From: | Jason Bennett | Date: | Mon, 28 Feb 2005 04:34:02 +0000 |
| Subject: | Hmmm | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209571@lists.php.net to get a copy of this message | ||
I just installed a new MYSQL version 4.1 (from 4.0) and now none of my
PHP scripts work anymore. They are all complaining about attempting to
login as root. Normally, I referance a class like:
class DB
{
function DB()
{
$this->host = "127.0.0.1:3306";
$this->db = "mydatabase";
$this->user = "reader";
$this->pass = "read123";
$this->link = mysql_connect($this->host, $this->user, $this->pass);
mysql_select_db($this->db);
}
}
Now it seems it just doesn't want to work anymore. They all worked
great on the old MySQL.
Does anyone have any ideas what I might have missed?
Thanks!
J.