View Single Post
  #2 (permalink)  
Old Mar 16th, 2007, 07:08
grahame grahame is offline
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: help with my first learning database

You haven't given your MySQL password (for the MySQL account called root) as the third parameter to mysql_connect, so you are being denied access to the database from withing the PHP. The other error messages are all the consequence of this failure.

You should probably use a different account to the root one to access your database, and you it's advisable to apply passowrds to all the MySQL accounts that you have.
Reply With Quote