I'm having problems w/ mysql_connect(). For some reason, it won't take the username and password arguments. Whenever I use it, it insists that (no matter what I imput for the user and password fields) that the user is SYSTEM@localhost. I don't think its my code that's wrong, because installing post-nuke, it has the same problem.
I'm not sure if I have something set wrong in php.ini or maybe I didn't do something in my sql.
For Post-nuke, I used "grant" to create a user name "PostNuke@localhost". However, this error appears again as if mysql_connect() isn't doing anything w/ the other 2 input variables:
Error (1044) : Access denied for user: 'SYSTEM@localhost' to database 'Post_DB'
I'm using Apache 4.0.46 and PHP 4.2.3 on a windows 2000 Prof. platform.
This problem has been bugging me for a long time - as I've been forced to grant privileges to SYSTEM@localhost to all my databases (which I don't want).
😕 😕
Any help would be greatly appreciated
Thanks,
Lawrence