Keine Datenbank Verbindung bei Installation

Hallo

Ich versuche nun zum x-ten Mal die Installation des Shops durchzuführen, bleibe aber immer bei Punkt 4 stehen.:confused:

Es erscheint immer folgende Meldung:

FEHLER: Keine Datenbank Verbindung möglich! - Access denied for user ‘root’@‘localhost’ (using password: YES)

Wär echt super wenn mir von Euch jmd weiterhelfen könnte…:slight_smile:

da musst du deine datenbank eintragen.

erstmal eine erstellen und die daten aufschreiben und die dann in der installation eintragen.

Dort habe ich ja folgendes eingetragen.
Die Datenbank habe ich in php my admin erstellt.

Datenbank Hostname oder IP Adresse: localhost
Datenbank Name: oxid
(Falls die Datenbank nicht vorhanden ist, wird versucht diese anzulegen)
Datenbank Benutzername: root
Datenbank Passwort: XXXX

gib mal anstelle des Localhosts die IP mit port an.

Also bei mir geht das auch nicht mit localhost, sondern mit ip und Port

Die Lokale IP oder die vom Server?

na die vom server.

Oxid sucht die datenbank auf dem server, also geht die ip auf den server, dann sucht er die datenbank (hast ja namen dafür)
dann logt sich oxid da ein und erstellt die tabellen.

Hi,

@christina: Wo versuchst Du denn die Installation, bei Deinem Hosting-Provider oder auf Deinem lokalen Rechner mit XAMPP oder einer ähnlichen Umgebung?

Gruß

Hallo
erstmal danke für Eure Hilfe.:slight_smile:
So, die Datenbank habe ich bei XAMPP erstellt, habe auch bei dem Setup die XAMPP Daten eingegeben. Ich glaube das war falsch. Oder???
Und irgendwie kann ich bei Plesk Control Panel keine Datenbank für den Oxid Shop erstellen.
Ich weiß da echt nicht mehr weiter…

lg

Plesk hast du eigentlich nur bei nem provider, nicht lokal. Also nochmal, versuchst du die installation bei dir aufm rechner oder hast du schon webspace gemietet? Und wenn ja welcher provider? Gib mal testweise die gleichen zugangsdaten ein wie auch für phpmyadmin verwendet werden.

Mein Provider ist ratiokontakt, die Installation will ich auf dem angemieteten Linux basierten Server machen, also nicht Lokal. Mein Problem ist, dass ich bei Plesk keine Datenbank erstellen kann für meinen Shop, und die Daten von phpmyadmin nimmt er nicht an.

(Hosting? gibts da nicht was von … :smiley: )

Welchen Tarif nutzt Du denn?
Und wegen der Erstellung der Datenbank bzw. der Zugangsdaten via phpMyAdmin musst Du Dich an Deinen Provider wenden.

Sicher dass die Mindestvoraussetzungen erfüllt werden?

Plesk ist nicht immer ganz intuitiv für neue User…frühestens, wenn man das System ein paarmal durchgespielt hat, kommt man zurecht.

Diese Weg schon gefolgt um die DB anzulegen?
http://www.strato-faq.de/artikel.html?id=64

Hallo

Nach einem Telefonat mit meinem Anbieter konnte ich eine Datenbank bei Plesk einrichten, habe die Daten über FTP hochgeladen. Aber es erscheint immer Shop offline.

Hallo,

[QUOTE=christina;65945]
Nach einem Telefonat mit meinem Anbieter konnte ich eine Datenbank bei Plesk einrichten, habe die Daten über FTP hochgeladen. Aber es erscheint immer Shop offline.[/QUOTE]

Spiel Dir mal eine jungfräuliche config.inc.php ein. Danach rufst Du den Shop im Browser auf und solltest zur Installation gelangen.

Gruß

<?php
/**

  • This file is part of OXID eShop Community Edition.

  • OXID eShop Community Edition is free software: you can redistribute it and/or modify

  • it under the terms of the GNU General Public License as published by

  • the Free Software Foundation, either version 3 of the License, or

  • (at your option) any later version.

  • OXID eShop Community Edition is distributed in the hope that it will be useful,

  • but WITHOUT ANY WARRANTY; without even the implied warranty of

  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

  • GNU General Public License for more details.

  • You should have received a copy of the GNU General Public License

  • along with OXID eShop Community Edition. If not, see <http://www.gnu.org/licenses/>.

  • @link http://www.oxid-esales.com

  • @package main

  • @copyright © OXID eSales AG 2003-2010

  • @version OXID eShop CE
    */

    /** @name database information */
    $this->dbHost = ‘localhost’; // database host name
    $this->dbName = ‘oxid’; // database name
    $this->dbUser = ‘root’; // database user name
    $this->dbPwd = ‘xxxx’; // database user password
    $this->dbType = ‘mysql’;
    $this->sShopURL = ‘http://localhost/oxid’; // eShop base url, required
    $this->sSSLShopURL = null; // eShop SSL url, optional
    $this->sAdminSSLURL = null; // eShop Admin SSL url, optional
    $this->sShopDir = ‘C:/xampp/htdocs/oxid’;
    $this->sCompileDir = ‘C:/xampp/htdocs/oxid/tmp’;

    // Template theme name, a directory in out/ folder containing all needed resources
    $this->sTheme = ‘basic’;

    // Custom theme, a directory in out/ folder containing only modified template files
    $this->sCustomTheme = null;

    // Uncoment only for former (pre version 4) template compatibility
    // $this->blFormerTplSupport = true;
    // $this->blFixedWidthLayout = true;

    // UTF-8 mode in shop 0 - off, 1 - on
    $this->iUtfMode = 0;

    // File type whitelist for file upload
    $this->aAllowedUploadTypes = array(‘jpg’, ‘gif’, ‘png’, ‘pdf’, ‘mp3’, ‘avi’, ‘mpg’, ‘mpeg’, ‘doc’, ‘xls’, ‘ppt’);

    // timezone information
    date_default_timezone_set(‘Europe/Berlin’);

    // Search engine friendly URL processor
    // After changing this value, you should rename oxid.php file as well
    // Always leave .php extension here unless you know what you are doing
    $this->sOXIDPHP = “oxid.php”;

    // enable debug mode for template development or bugfixing
    // -1 = Logger Messages internal use only
    // 0 = off
    // 1 = smarty
    // 2 = SQL
    // 3 = SQL + smarty
    // 4 = SQL + smarty + shoptemplate data
    // 5 = Delivery Cost calculation info
    // 6 = SMTP Debug Messages
    // 7 = oxDbDebug SQL parser
    $this->iDebug = 0;

    // Log all modifications performed in Admin
    $this->blLogChangesInAdmin = false;

    // Force admin email
    $this->sAdminEmail = ‘’;

    // in case session must be started on first user page visit (not only on
    // session required action) set this option value 1
    $this->blForceSessionStart = false;

    // Use browser cookies to store session id (no sid parameter in URL)
    $this->blSessionUseCookies = true;

    // The domain that the cookie is available: array( SHOP_ID => DOMAIN );
    // check setcookie() documentation for more details @php.net
    $this->aCookieDomains = null;

    // The path on the server in which the cookie will be available on: array( SHOP_ID => PATH );
    // check setcookie() documentation for more details @php.net
    $this->aCookiePaths = null;

    // uncomment the following line if you want to leave euro sign unchanged in output
    // by default is set to convert euro sign symbol to html entity
    // $this->blSkipEuroReplace = true;

    // List of all Search-Engine Robots
    $this->aRobots = array(
    ‘googlebot’,
    ‘ultraseek’,
    ‘crawl’,
    ‘spider’,
    ‘fireball’,
    ‘robot’,
    ‘spider’,
    ‘robot’,
    ‘slurp’,
    ‘fast’,
    ‘altavista’,
    ‘teoma’,
    );

    // Deactivate Static URL’s for these Robots
    $this->aRobotsExcept = array();

    // IP addresses for which session/cookie id match and user agent change checks are off
    $this->aTrustedIPs = array();

    // disable using and loading the gmp extension for the OpenId library
    // as using the dl() function causes problems with suhosin.
    define(‘Auth_OpenID_BUGGY_GMP’, true);

    /**

    • Works only if basket reservations feature is enabled in admin.
    • The number specifies how many expired basket reservations are
    • cleaned per one request (to the eShop).
    • Cleaning a reservation basically means returning the reserved
    • stock to the articles.
    • Keeping this number too low may cause article stock being returned too
    • slowly, while too high value may have spiking impact on the performance.
      */
      $this->iBasketReservationCleanPerRequest = 200;

    // Trusted shops buyer protection wsdl url
    $this->sTsProtectionUrl = “https://protection.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl”;
    // This is only needed for testing during integration
    $this->sTsTestProtectionUrl = “https://protection-qa.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl”;

    // Trusted Shops Ratings login info
    // Do not change credentials unless instructed otherwise by Trusted Shops!
    $this->sTsUser = “oxid_esales”;
    $this->sTsPass = “V1AoGEXm”;

    // Trusted Shops Ratings configuration array
    $this->aTsConfig = array( “blTestMode” => false, // set TRUE to enable testing mode
    "sTsUrl" => “https://www.trustedshops.com”, // Trusted Shops Rating main url
    "sTsTestUrl" => “https://qa.trustedshops.com”, // Trusted Shops Rating test url
    "sTsWidgetUri" => array( “bewertung/widget/widgets/%s.gif” ), // rating widget url
    "sTsInfoUri" => array( “de” => “bewertung/info_%s.html”, // DE rating info url
    "en" => “buyerrating/info_%s.html” // EN rating info url
    ),
    “sTsRatingUri” => array( “de” => “bewertung/bewerten_%s.html”, // DE rating url
    "en" => “buyerrating/rate_%s.html” // EN rating url
    )
    );
    // Trusted Shops Ratings service wsdl
    $this->sTsServiceWsdl = “https://www.trustedshops.de/ts/services/TsRating?wsdl”;

    // Trusted Shops Ratings test service wsdl
    $this->sTsServiceTestWsdl = “https://qa.trustedshops.de/ts/services/TsRating?wsdl”;

Ich hoffe des war die richtige???

Hi,

nein, war sie nicht. Schau Dir doch mal die Datenbankzugänge an - das kann nicht passen. Hier findest Du eine jungfräuliche:
http://svn.oxid-esales.com/tags/CE-4.5.1-38045/eshop/

Gruß

<?php
/**

  • This file is part of OXID eShop Community Edition.

  • OXID eShop Community Edition is free software: you can redistribute it and/or modify

  • it under the terms of the GNU General Public License as published by

  • the Free Software Foundation, either version 3 of the License, or

  • (at your option) any later version.

  • OXID eShop Community Edition is distributed in the hope that it will be useful,

  • but WITHOUT ANY WARRANTY; without even the implied warranty of

  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

  • GNU General Public License for more details.

  • You should have received a copy of the GNU General Public License

  • along with OXID eShop Community Edition. If not, see <http://www.gnu.org/licenses/>.

  • @link http://www.oxid-esales.com

  • @package main

  • @copyright © OXID eSales AG 2003-2010

  • @version OXID eShop CE
    */

    /** @name database information */
    $this->dbHost = ‘<dbHost_ce>’; // database host name
    $this->dbName = ‘<dbName_ce>’; // database name
    $this->dbUser = ‘<dbUser_ce>’; // database user name
    $this->dbPwd = ‘<dbPwd_ce>’; // database user password
    $this->dbType = ‘mysql’;
    $this->sShopURL = ‘<sShopURL_ce>’; // eShop base url, required
    $this->sSSLShopURL = null; // eShop SSL url, optional
    $this->sAdminSSLURL = null; // eShop Admin SSL url, optional
    $this->sShopDir = ‘<sShopDir_ce>’;
    $this->sCompileDir = ‘<sCompileDir_ce>’;

    // Template theme name, a directory in out/ folder containing all needed resources
    $this->sTheme = ‘basic’;

    // Custom theme, a directory in out/ folder containing only modified template files
    $this->sCustomTheme = null;

    // Uncoment only for former (pre version 4) template compatibility
    // $this->blFormerTplSupport = true;
    // $this->blFixedWidthLayout = true;

    // UTF-8 mode in shop 0 - off, 1 - on
    $this->iUtfMode = ‘<iUtfMode>’;

    // File type whitelist for file upload
    $this->aAllowedUploadTypes = array(‘jpg’, ‘gif’, ‘png’, ‘pdf’, ‘mp3’, ‘avi’, ‘mpg’, ‘mpeg’, ‘doc’, ‘xls’, ‘ppt’);

    // timezone information
    date_default_timezone_set(‘Europe/Berlin’);

    // Search engine friendly URL processor
    // After changing this value, you should rename oxid.php file as well
    // Always leave .php extension here unless you know what you are doing
    $this->sOXIDPHP = “oxid.php”;

    // enable debug mode for template development or bugfixing
    // -1 = Logger Messages internal use only
    // 0 = off
    // 1 = smarty
    // 2 = SQL
    // 3 = SQL + smarty
    // 4 = SQL + smarty + shoptemplate data
    // 5 = Delivery Cost calculation info
    // 6 = SMTP Debug Messages
    // 7 = oxDbDebug SQL parser
    $this->iDebug = 0;

    // Log all modifications performed in Admin
    $this->blLogChangesInAdmin = false;

    // Force admin email
    $this->sAdminEmail = ‘’;

    // in case session must be started on first user page visit (not only on
    // session required action) set this option value 1
    $this->blForceSessionStart = false;

    // Use browser cookies to store session id (no sid parameter in URL)
    $this->blSessionUseCookies = true;

    // The domain that the cookie is available: array( SHOP_ID => DOMAIN );
    // check setcookie() documentation for more details @php.net
    $this->aCookieDomains = null;

    // The path on the server in which the cookie will be available on: array( SHOP_ID => PATH );
    // check setcookie() documentation for more details @php.net
    $this->aCookiePaths = null;

    // uncomment the following line if you want to leave euro sign unchanged in output
    // by default is set to convert euro sign symbol to html entity
    // $this->blSkipEuroReplace = true;

    // List of all Search-Engine Robots
    $this->aRobots = array(
    ‘googlebot’,
    ‘ultraseek’,
    ‘crawl’,
    ‘spider’,
    ‘fireball’,
    ‘robot’,
    ‘spider’,
    ‘robot’,
    ‘slurp’,
    ‘fast’,
    ‘altavista’,
    ‘teoma’,
    );

    // Deactivate Static URL’s for these Robots
    $this->aRobotsExcept = array();

    // IP addresses for which session/cookie id match and user agent change checks are off
    $this->aTrustedIPs = array();

    // disable using and loading the gmp extension for the OpenId library
    // as using the dl() function causes problems with suhosin.
    define(‘Auth_OpenID_BUGGY_GMP’, true);

    /**

    • Works only if basket reservations feature is enabled in admin.
    • The number specifies how many expired basket reservations are
    • cleaned per one request (to the eShop).
    • Cleaning a reservation basically means returning the reserved
    • stock to the articles.
    • Keeping this number too low may cause article stock being returned too
    • slowly, while too high value may have spiking impact on the performance.
      */
      $this->iBasketReservationCleanPerRequest = 200;

    // Trusted shops buyer protection wsdl url
    $this->sTsProtectionUrl = “https://protection.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl”;
    // This is only needed for testing during integration
    $this->sTsTestProtectionUrl = “https://protection-qa.trustedshops.com/ts/protectionservices/ApplicationRequestService?wsdl”;

    // Trusted Shops Ratings login info
    // Do not change credentials unless instructed otherwise by Trusted Shops!
    $this->sTsUser = “oxid_esales”;
    $this->sTsPass = “V1AoGEXm”;

    // Trusted Shops Ratings configuration array
    $this->aTsConfig = array( “blTestMode” => false, // set TRUE to enable testing mode
    "sTsUrl" => “https://www.trustedshops.com”, // Trusted Shops Rating main url
    "sTsTestUrl" => “https://qa.trustedshops.com”, // Trusted Shops Rating test url
    "sTsWidgetUri" => array( “bewertung/widget/widgets/%s.gif” ), // rating widget url
    "sTsInfoUri" => array( “de” => “bewertung/info_%s.html”, // DE rating info url
    "en" => “buyerrating/info_%s.html” // EN rating info url
    ),
    “sTsRatingUri” => array( “de” => “bewertung/bewerten_%s.html”, // DE rating url
    "en" => “buyerrating/rate_%s.html” // EN rating url
    )
    );
    // Trusted Shops Ratings service wsdl
    $this->sTsServiceWsdl = “https://www.trustedshops.de/ts/services/TsRating?wsdl”;

    // Trusted Shops Ratings test service wsdl
    $this->sTsServiceTestWsdl = “https://qa.trustedshops.de/ts/services/TsRating?wsdl”;

Ups, wer lesen kann is klar im Vorteil :slight_smile: Ich probier des mal

Hallo Christina,

bitte poste hier keine kompletten Dateien. Wir wissen alle wie die aussehen und können sie uns im SVN anschauen. Wenn Du code postest, gibt es dazu einen speziellen Tag, den Du setzen kannst, damit es lesbar wird.

Gruß