Are you sure you give access to this user from the machine to the database server? Check IP address permissions and if the user has access to the specific table and/or database in MySQL. Also check to make sure the database server is setup to allow you access from your machine.. check the MySQL and System log files they usually help to determine what went wrong.
> -----Original Message----- > From: Sparky Kopetzky [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 29, 2003 9:12 PM > To: [EMAIL PROTECTED] > Subject: MySql Help needed > > > Greetings! > > I am building an application in PHP and am creating a global > $connect_id for MySql. I have MySql on a separate machine and > am using the connect like this: > > $server = "development.myservermachine.net"; > $username = "myname"; > $password = "mypassword"; > $connect_id = mysql_connect($server, $username, $password); > > All I get is 'Access denied for user '[EMAIL PROTECTED]' (Using > password:YES) > > Now, I know I'm in the DNS server for my system, and the > username and password are correct as I checked the User table. > > Any thoughts, ideas, etc. toward fixing this problem?? > > I'd appreciate any help provided. > > Robin Kopetzky > Black Mesa Computer/Internet Services > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php