Każdy temat założony w ewidentnie złym dziale będzie usuwany! Proszę czytać opisy działów i regulamin!
![]() ![]() |
17.9.2007 - 09:23
Post
#1
|
|
![]() aktywność: ![]() Grupa: Bloger Postów: 2 Nr: 3 025 |
Witam!
Jeśli chodzi o msql to jestem kompletnie zielony, byłem jednak pewien że poprawnie zedytowałem plik wp-config.php. Jednak po wrzuceniu strony i otwarciu tego pliku pojawia się napis: KOD <h1>Error establishing a database connection</h1> <p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>localhost</code>. This could mean your host's database server is down.</p> <ul><li>Are you sure you have the correct username and password?</li><li>Are you sure that you have typed the correct hostname?</li><li>Are you sure that the database server is running?</li></ul> <p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="http://wordpress.org/support/">WordPress Support Forums</a>. Tak mam uzupełniony wp-config.php: KOD define('DB_NAME', '<b>db_ganj13234</b>'); // The name of the database define('DB_USER', '<b>db_ganja-power2</b>'); // Your MySQL username define('DB_PASSWORD', '<b>hasło</b>'); // ...and password define('DB_HOST', '<b>localhost</b>'); // 99% chance you won't need to change this value a tak wyglądają dane na stronie hostingu: ![]() czy możecie powiedzieć gdzie jest błąd? |
|
|
|
17.9.2007 - 09:39
Post
#2
|
|
![]() aktywność: ![]() ![]() ![]() ![]() ![]() ![]() ![]() Grupa: Redakcja Postów: 878 Nr: 2 641 |
Hmm... wyglada na to, że pozamieniałeś dane uzytkownika i bazy danych w wp-config.php
DB_NAME jest db_ganja-power2 DB_USER jest db_ganj13234 Poza tym w pliku konfiguracyjnym nie trzeba uzywać wytłuszczonego druku Pozdrawiam, Kasia Ten post edytował Kasia79 17.9.2007 - 09:41 -------------------- Curiosity killed the cat, but satisfaction brought her back.
|
|
|
|
17.9.2007 - 09:46
Post
#3
|
|
![]() aktywność: ![]() Grupa: Bloger Postów: 2 Nr: 3 025 |
zadziałało
ps. co do pogrubionego tekstu to chciałem go wyrożnić na forum ale coś nie wyszło |
|
|
|
![]() ![]() |
| Wersja Lo-Fi | Aktualny czas: 4 12 08 - 21:15 |