IPB

( Zaloguj | Zarejestruj )

 
Reply to this topicStart new topic
> problem, Error establishing a database connection
bricher
post 10.12.2008 - 23:58
Post #1





Grupa: Bloger
Postów: 2

Nr: 5 109



Witam

Instaluje WPMU i po wypełnieniu formularzu z loginem, hasłem itd. wyświetla mi się strona z komunikatem Error establishing a database connection.

Może mi ktoś wytłumaczyć co może być przyczyną tego błędu?

Pozdrawiam
Go to the top of the page
 
+Quote Post
Horator
post 11.12.2008 - 10:22
Post #2


aktywność:


Grupa: +Bloger
Postów: 24

Nr: 5 072



Przyczyn, może być kilka, pokaż swój wp-config.php wtedy łatwiej będzie pomóc. Jak tak mam czasami na swoim blogu ale u mnie F5 pomaga.


--------------------
Go to the top of the page
 
+Quote Post
bricher
post 11.12.2008 - 15:14
Post #3





Grupa: Bloger
Postów: 2

Nr: 5 109



wp-config.php

CODE
<?php
/* Don't try to create this file by hand. Read the README.txt and run the installer. */
// ** MySQL settings ** //
define('DB_NAME', 'depta'); // The name of the database
define('DB_USER', 'depta'); // Your MySQL username
define('DB_PASSWORD', '********'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('VHOST', 'no');
$base = '/';

// Change each KEY to a different unique phrase. You won't have to remember the phrases later,
// so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/
// to get keys generated for you, or just make something up. Each key should have a different phrase.
define('AUTH_KEY', '08e6865ba1256aeeb1f5b2d0d279f92b6f0c0674b7cf8df03057da8a026e45cd'); // Change this to a unique phrase.
define('SECURE_AUTH_KEY', '81cbb14caf81d803af416805018cf59d058dd8766061a84a18181204872e1ff1'); // Change this to a unique phrase.
define('SECURE_AUTH_SALT', 'b2953b7a6d2f11ec0aa131977e3aee14d7bd0d3ce171a1ae9bab5b6a37c27e88'); // Change this to a unique phrase.
define('LOGGED_IN_KEY', '887d5eaa42d5c80bfa7191d720356672524a34c328d8c653f7a7f75d0c3fedad'); // Change this to a unique phrase.
define('SECRET_KEY', 'a4a895c334b13ec9a9167dddc5b9a4976749fdbf38a2c629fcc8930ff07a3910'); // Change these to unique phrases.
define('SECRET_SALT', '90a1474626ae71dd38ba860675110388866b01d34d04f72caa4565f7de06fd31');
define('LOGGED_IN_SALT', '8a9ac9307b14ddc9d3c8e05f3f91661908d7cc71542edb588bc65cf74defccff');

// double check $base
if( $base == 'BASE' )
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!

// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

// uncomment this to enable wp-content/sunrise.php support
//define( 'SUNRISE', 'on' );

// Uncomment and set this to a URL to redirect if a blog does not exist or is a 404 on the main blog. (Useful if signup is disabled)
// For example, browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );
// define( 'NOBLOGREDIRECT', '' );

define( "WP_USE_MULTIPLE_DB", false );

/* That's all, stop editing! Happy blogging. */

if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
?>


Ten post edytował b4it 13.12.2008 - 11:20
Go to the top of the page
 
+Quote Post
b4it
post 13.12.2008 - 11:21
Post #4


aktywność:
****

Grupa: Redakcja
Postów: 332

Nr: 60



Podałeś błędne dane do logowania do bazy dlatego nie może się zalogować.


--------------------
b4it's log | iPhone Blog

4Avatars v0.2
Nie jestem darmowym, prywatnym pomocnikiem!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



: 24 05 12 - 15:41