> -----Original Message----- > From: Nick Gianakas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:17 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-INST] PHP w/ MySQL > > Do you have a host entry for localhost? > If you're referring to /etc/hosts, yes I do. > These are the contents of my hosts file: > 127.0.0.1 nimble localhost.localdomain localhost
Change that to 127.0.0.1 localhost localhost.localdomain nimble And you should be fine > 192.168.1.5 nimble > > > Quick & Dirty you could add rights to nimble your user. > I don't follow. Add rights for my database user in MySQL > explicitly for > nimble? If you need to, add the rights to your user at nimble, but the above should fix it: Grant all privileges on database_name.* to user_name@nimble identified by 'my_secret'; Flush privileges; That example is pretty un-restrictive, so you may only want to grant insert,update,delete,etc rights -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php