install error

Having trouble installing serendipity?
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

install error

Post by rj »

Sorry to bother, but gosh I been at this for weeks to avail, my server is too busy to help.

Simple installation, fill out fields and this error, no matter what! :)

Could not connect to database; check your settings.
The mySQL error was: Access denied for user: 'rj_@server145.server.org' (Using password: YES)

Whatever I use as database name there in front of the @ comes the same error.

I have tried putting everything in the fields to no avail, but let me make sure I am doing it correctly. As the server adds my name in front of anything I name... rj becomes rj_rj, which do I use?

database host: localhost or mysite.com?
database user name: rj or rj_rj
database password: I am sure of it.
database name: serendipity or rj_serendipity (folder under -public)

Then the fields in the next box I assume are new entries that dont matter than much at this point? Or do they. I do fill them out each of the thousand times I have tried this! :)

I have by hand changed all files and folders from /serendipity on down to 777. I have made sure the database shows ALL PRIVELIGES.

I have also deleted and renamed the databasea half a dozen times to make sure the name and password are correct.

I read something here about .htaccess that was kinda over my head, could this have anything to do with that?

FYI, when I tried WORD PRESS, I could never get that to allow me to edit the files. When I try to LOG OUT of the phpadmin page in my CPANEL, it has always given me an error of USERNAME NOT FOUND.

After so much time spent at this, I am sure its the server and not you, but I cant get a response there... So perhaps you know exactly what I can ask THEM to do.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: install error

Post by garvinhicking »

Hi!

I'm afraid there seems to be a MySQL server setup issue for you.

The username and password you are using on your PHP server is not allowed to connect to the database server. This can have multiple reasons: Either the username is invalid, password is invalid, the host name is invalid, or the mysql host does not allow connections from hosts other than its localhost.

Did you try to use 127.0.0.1 as the DB host?

It's sadly completely unrelated to serendipity, your problem is a PHP/MySQL server one :)

Maybe you can ask the sysadmin, how the mysql server allows connections?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply