By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,780 Members | 1,549 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,780 IT Pros & Developers. It's quick & easy.

Fatal error: Access denied for user 'apache'@'localhost'

bhing
P: 43
please help me..
i dont really understand whats happening in my server....
i have a website using php... when i try to access it this is the message....

Fatal error: Access denied for user 'apache'@'localhost' (using password: YES)

why is that so? when in fact i dont have any apache user on my mysql.user,

please.. i really need the answer asap.. tnx
Aug 17 '07 #1
Share this Question
Share on Google+
4 Replies


bhing
P: 43
i also noticed that when i tried to start mysqld service with --skip-grant-tables,
it will display the content of the database queried using the php script...
Aug 17 '07 #2

ak1dnar
Expert 100+
P: 1,584
please help me..
i dont really understand whats happening in my server....
i have a website using php... when i try to access it this is the message....

Fatal error: Access denied for user 'apache'@'localhost' (using password: YES)

why is that so? when in fact i dont have any apache user on my mysql.user,

please.. i really need the answer asap.. tnx
Could you please post the Connectrion String Coding here. Then we can take a look at on it.
Aug 17 '07 #3

bhing
P: 43
thanks dor the reply but i have already figured out the problem, i just doubled the $ dollar sign in the script used for connecting to the database, for 2 days of troubleshooting, i cant imagine that the problem is just that.... My Gosh!!!!!!!


thnx a lot...
Aug 21 '07 #4

ak1dnar
Expert 100+
P: 1,584
thanks dor the reply but i have already figured out the problem, i just doubled the $ dollar sign in the script used for connecting to the database, for 2 days of troubleshooting, i cant imagine that the problem is just that.... My Gosh!!!!!!!


thnx a lot...
Glad you got It working! Good Luck.
Post back anytime to the Forum.
Aug 21 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.