Page 1 of 1

Access denied for user...

Posted: Wed Nov 12, 2008 9:32 am
by help.scrivimi
I have installed correctly the blog.
I have used it for some days and now if try to access it,
I receive the following error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nameuserDB'@'localhost' (using password: YES) in D:\Home\namedomain.net\httpdocs\serendipity\include\db\mysql.inc.php on line 270

Why?
Thank you

Re: Access denied for user...

Posted: Wed Nov 12, 2008 11:52 am
by garvinhicking
Hi!

Could it be you'Re using Firefox3 and changed something in your blog configuration?

FF3 has the nast habit of simply filling in your login username as the password to connect to the database. This is very evil of course, and saves a wrong database password in your configuration. You need to make sure when you change the configuration that firefox will not autofill in the wrong password.

You must now edit the file serendipity_config_local.inc.php manually via FTP and insert the right database username+password again. If you cannot write to that file, check the FAQ on www.s9y.org for "fixperm.php", this is a simple script that allows you to set write privilege for this config file.

Regards,
Garvin

Posted: Wed Nov 12, 2008 6:19 pm
by help.scrivimi
:D thank you
Firefox is dangerous :!:

Posted: Wed Nov 12, 2008 9:20 pm
by garvinhicking
Hi!

Your entry though helped me to think of a possible fix. In the next s9y version we will use autocomplete=off for this password field, so that you need to deliberately enter it...

Regards,
Garvin