Hi Doug,

It is probably failing because you changed the ip address. The security
system in MySQL is based around where a user is coming from. There is
good documentation that is available here 

http://dev.mysql.com/doc/refman/5.0/en/privilege-system.html

I've referred to the current manual for ver. 5.0 as I'm not sure what
you are using. You can easily refer to an earlier version of the manual
via the http://dev.mysql.com/doc/ page.

Regards


---------------------------------------------------------------
********** _/     **********  David Logan 
*******   _/         *******  ITO Delivery Specialist - Database
*****    _/            *****  Hewlett-Packard Australia Ltd
****    _/_/_/  _/_/_/  ****  E-Mail: [EMAIL PROTECTED]
****   _/  _/  _/  _/   ****  Desk:   +618 8408 4273
****  _/  _/  _/_/_/    ****  Mobile: 0417 268 665
*****        _/       ******    
******      _/      ********  Postal: 148 Frome Street,
********   _/     **********          Adelaide SA 5001
                                      Australia 
i    n    v    e    n    t                                   
---------------------------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 17 January 2006 1:07 PM
To: mysql@lists.mysql.com
Subject: error connecting to db.

I have a php application that connects with MySQL using:

  $SvrConn = @mysql_connect($MySQLServer, $MySQLUser, $MySQLPassword)

where:  $MySQLServer='127.0.0.1'
        $MySQLUser='dbuser'
        MySQLPassword='dbpasswd'

and I can login using the above values. However connect fails:

mysql> select host,user from user;
+-----------+---------+
| host      | user    |
+-----------+---------+
| localhost | dbuser  |
+-----------+---------+

The application worked until I changed the IP of the host. Where else
might I
look? There is no cnf file.

thanks for any help.


_____
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to