Hmmm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux