in reply to why this simple script return error ?

Make sure you get the host part correct. MySQL authentication also looks at the host, apart from the username and password. Your code above, assumes that the host is localhost. But your database privileges might be otherwise.


--
Rohan

  • Comment on Re: why this simple script return error ?