Přeskočit přímo na text


Jak nastavit MySQL na hostingu pipni.cz???

Kategorie: Instalace Drupalu
Týká se verze:

MySQL Server : mysql MySQL Databáze : drupal_urbanbene_com MySQL Login : drupal.urbanbene.com heslo: „drupal“ (samozřejmě ne pravé-poze pro názornost)

opravdu si nevím rady s nastavení těchto řádků: $db_url = „mysql://username:password@localhost/databasename“;

zkoušel sem snad všehcni možnosti a stále jen:

„500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, apache@www3.pipni.cz and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache Server at www.urbanbene.com Port 80“

neví někdo, jak bych to měl správně nastavit???

jedna z posledních variant byla: $db_url = „mysql://drupal.urbanbene.com:drupal@mysql/drupal_urbanbene_com“;

ale ani to nefunguje

 

je to sokro spravne az na

je to sokro spravne az na posledni slovo mysql. tam je potreba nechat localhost pripadne spravne hostname pro mysql

stále nic

teď sem to upravil podle rady:

$db_url = „mysql://drupal.urbanbene.com:drupal@localhost/drupal_urbanbene_com“;

Bohužel, stále stejná chyba… 500 Internal server error… :o((

Premenuj subor .htaccess na

Premenuj subor .htaccess na .htaccess-disable (naprikald) – predpokladam ze na pipni nemaju povoleny .htaccess a preto ti hadze tu chybu.

postup, ale stále né vše...

No, přejmenování souboru pomohlo… teď už to píše jinou chybovou hlášku :o)) už je to standardní chyba „Unable to connect to database server“ :(

Celá chyba je takhle:

Unable to connect to database server This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.

The MySQL error was: Can't connect to local MySQL server through socket ‚/tmp/mysql.sock‘ (2).

Currently, the username is drupal.urbanbene.com and the database server is localhost.

Are you sure you have the correct username and password? Are you sure that you have typed the correct hostname? Are you sure that the database server is running? For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

HOTOVO

Už to funguje… Celý problém tedy byl jen v souboru „htaccess“

původní verze $db_url = „mysql://drupal.urbanbene.com:heslo@mysql/drupal_urbanbene_com“;

je tedy správná – nzev servru je „mysql“ a nahrazuje slovo „localhost“

snad tohle pomůže všem, co se snažejí rozchodit Drupal na Pipni.cz

PS: já se s dalším problémem určitě taky brzo ozvu :o)))

A děkuji všem za reakce…

diky

pomohlo. I lidem po 3 letech :-)))

Pomohlo i po skoro 6 ti

Pomohlo i po skoro 6 ti letech :-) Díky Pak už jsem to našel i jinde, že místo localhost mají mysql.

Poslat nový komentář

Obsah tohoto pole je soukromý a nebude veřejně zobrazen.
  • You can use Texy! to format and alter entered content.
  • Povolené HTML značky: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <p> <br> <b> <i> <h2> <img> <pre> <sup> <sub> <pre class="php"> <span class="php-keyword1"> <span class="php-var"> <span class="php-num"> <img class="screenshot"> <p class="beginner"> <a class="greybox"> <h3> <h4>

Více informací o možnostech formátování

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.

Hledat

Přihlášení

Bezpečnost Drupalu

Z hlediska bezpečnosti je Drupal na velmi vysoké úrovni, díky propracovanému systému hlášení, prověřování a řešení možných problémů.

Čtěte více a odebírejte bezpečnostní aktuality

Poslední komentáře

Kdo je online

Momentálně je online 1 uživatel a 0 hostů.

Online uživatelé