i dont have a password for local host and still its not working. please any suggestions as to what i can do about not putting password a this stage for a mysql connection.
thanks
mykel79
9:57 pm on Jun 6, 2004 (gmt 0)
In the end you will have to use a password anyway (for security). I know this is not the answer you're looking for, but why not just set the password now, if even temporary one, and save the time of looking for an answer?:)
zendak
11:54 am on Jun 7, 2004 (gmt 0)
Is it just a typo here in your forum post or are you using the colon instead of the semicolon at the end of line 2 in your actual code? If so, the line may not get parsed correctly.
Also, if you don't specify a user in your connection parameters PHP will assume "root". It may be a MySQL priviliges issue - double-check which, if any, password "root" is using.