Page 1 of 1

Access denied: WTF?

Posted: Thu Feb 19, 2009 6:34 am
by granite
Hi,

I tried to connect my site to the Mysql database but it didn't work, possibly because the database I tried to access didn't exist anymore. The fact is, seconds later, when I tried to access the database through phpMyAdmin (2.11.3), I got an error message. Needless to say, it was working perfectly before this.
And this keeps happening. It's is the second time this happens, and the time before, I solved the problem just by reseting my localserver. Now, reseting it isn't working.

Here's the error I get:
Access denied wrote:The probable reason for this is that you didn't create the configuration file. You must use setup script to create one.

Error

MySQL Message : Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
Can someone help me, please?

Thank you.


Ps.: I'm sorry if this is the wrong forum.

Re: Access denied: WTF?

Posted: Thu Feb 19, 2009 7:12 am
by maneetpuri
Hi,

I think this is the problem of authtication, go to the folder on your local web server where you have phpmyadmin installed, here you will find a file config.inc.php, open this and scrolling a bit down you will see some varibales defined for the authentication of the MySQL, make sure they are correct. Save it and try to run phpmyadmin again and it should work.

Cheers,

~Maneet

Re: Access denied: WTF?

Posted: Thu Feb 19, 2009 7:33 am
by granite
<span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, this file keeps being deleted. :banghead:

Nah, it's working now, I just copied the said file from config dir (a backup copy I had) to phpMyAdmin folder.

But what the <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> would be causing the deletion of config.inc.php?

<span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> file!!!

Thanks maneetpury for reminding me of this file.