Hi.
I have just installed MySQL, Apache and PHP on my workstation as I want to be able to test my code before I publish.
It all went surprisingly smooth. But, when I try to connect to MySQL, I can only do it by leaving the mysql_connect function blank:
mysql_connect()
.
If I try :
mysql_connect(host,user,password)
I get an error.
I use localhost as the host, and the username and password I set up after installation.
Also, and I guess it may be relevant, when I try to grant permissions to a new user, I get error 1045.
I'm sure I'm doing something stupid - but it is my first time!
Any help would be appreciated.