PDA

View Full Version : Database connection error


thymiane3000
07-09-2008, 05:21 AM
Hello,

I've been trying to install Pixelpost 1.7 and keep getting stuck at checking the database connection.
I am using Eleven2 and have done the following:

Uploaded Pixelpost to the server
Created a MySql database
Edited the pixelpost.php file in the "includes" directory:

$pixelpost_db_host = "localhost";
$pixelpost_db_user = "redcurta_pixel";
$pixelpost_db_pass = "password entered here";
$pixelpost_db_pixelpost = "redcurta_pixelpost";

$pixelpost_db_prefix = "pixelpost_";

This is all that is in the php file, so I might be missing some extra code.

When I load this:

www.yoursite.com/admin/install.php

I get the following error message:

Database Connection Error: Access denied for user 'redcurta_pixel'@'localhost' (using password: YES)
Database Connection Error: Access denied for user 'redcurta'@'localhost' (using password: NO)

I emailed Eleven2 and they said the host name is "localhost:"

I have tried both "localhost" and "localhost:" and I get the same error message either way.

Has anyone else run into this problem? Any thoughts/advice would be much appreciated so I can get this blog up and running.

Also the pixelpost file are uploaded to the main directory. Should I create a separate directory for the files?

Thanks in advance!

Dkozikowski
07-09-2008, 06:14 AM
Does your database password contain special characters?

thymiane3000
07-09-2008, 02:29 PM
Hi, yes it does. Could that be causing the problem?

Rodney-E2
07-09-2008, 04:23 PM
the host will just be: localhost

If you can email me your ticket number: rodney AT eleven2 dot com
I will be glad to take a look at it, or pop me a IM on aim at: eleven2rodney

Thanks!

Dkozikowski
07-09-2008, 07:49 PM
Hi, yes it does. Could that be causing the problem?

Try using a password without special characters. It's a "bug" of sorts that the installer can not handle them. This is fixed in the next version of Pixelpost.

OR... You can go the old school route and do a manual install by manually entering the data with your includes/pixelpost-sample.php file. Simply rename pixelpost-sample.php to pixelpost.php on your server once you're done entering the information.

Your hosting provider even has a great article on installing pixelpost the "old school" way, even though it is a bit outdated, everything is generally the same. It only fails to mention to rename the file which I already pointed out above.

http://www.eleven2.com/kb/other/how_do_i_install_pixelpost/

thymiane3000
07-10-2008, 04:43 AM
I took out the characters in the password and it worked with no problems.

Thanks for the help!