PDA

View Full Version : Database Connection Error


viktord
07-29-2008, 09:36 AM
hi,

im getting always:

Database Connection Error: Unknown MySQL server host 'mysql4.<domain>'

if i try to connect to my database, so what to do?


thanks!
greets, Viktor

jaywilliams
07-29-2008, 03:49 PM
If you're having issues with your server, you should contact the company that hosts your website. They should be able to fix the problem.

viktord
07-30-2008, 06:06 AM
other applications do always work fine

Dennis
07-30-2008, 06:08 AM
check the credentials in the pixelpost.php file. You might have to provide the correct credentials and locations.

viktord
07-30-2008, 06:56 PM
hi, thanks, i have modified the credentials in /includes/pixelpost.php,
but why i have do so? there is no guide to do that in the instruction.

But there is no change, pixelpost is still not installing. The install Screen is telling me Table '<dbname>.pixelpost_config' doesn't exist

Dennis
07-31-2008, 05:07 AM
http://www.pixelpost.org/docs/GettingStarted/Install

Normally, when you would have followed the install routine, it will either be created or instructions are provided.

viktord
07-31-2008, 06:57 AM
i have followed exactly the steps!

dallen
11-18-2008, 05:28 AM
As I discovered the hard way, this line in pixelpost.php (in the includes folder) may not be correct for your DB:

$pixelpost_db_prefix = "pixelpost_"; // table prefix, leave as is unless you want to install multiple blogs on the same database

If your database uses something else besides the 'pixelpost_' prefix, you'll have to change this line the pixelpost.php file to accommodate the prefix used in your DB.

dallen