Lokale Installation auf live server bringen
am 21.05.2008 - 18:28 Uhr in
Hallo,
ich durchforste das Drupalforum nun schon den ganzen Tag, finde aber keine passende Anwort auf mein Problem.
Und zwar versuche ich gerade meine auf xampp laufende lokale installation auf meinen Live-Server zu laden.
Die Datenbank habe ich schon eingepflegt und auch die Cache-Tabelle geleert. Aber es gelingt mir immer noch kein Zugriff auf die Datebank. Drupal meldet:
Unable to connect to database server
If you still have to install Drupal, proceed to the installation page.
If you have already finished installing Drupal, this either means that the username and password information in your settings.php file is incorrect or that we can't connect to the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Access denied for user: 'root@localhost' (Using password: NO).
Currently, the username is root 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.
Hab nun versucht die Settings PHP zu verändern und zwar wie folgt:
* Database URL format:
* $db_url = 'mysql://username:password@localhost/db156977';
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
$db_url = 'mysql://root@localhost/db156977';
$db_prefix = '';
Bin mir aber nicht sicher, ob das stimmt. Habe immer nur gelesen, das ich die settings.php verändern muß aber nirgends wie genau.
Hoffe es kann mir jemand weiterhelfen oder den richtigen link im Forum zeigen.
Hab nämlich nicht das Gefühl, das ich der erste bin, der das nicht blickt.
- Anmelden oder Registrieren um Kommentare zu schreiben
Ok der 1. Teil datenbanktyp,
am 21.05.2008 - 20:23 Uhr
Ok der 1. Teil datenbanktyp, hier musste erstmal entscheiden ob du auf dem Webserver ein pgsql oder mysql Datenbank hast. Wenn mysql,dann kannste auch falls PHP5 vorhanden mysqli nehmen.
und den rest bekommste vom Webhoster mitgeteilt bzw ergibt sich aus dein Admin-Panel beim webhoster
datenbanktyp://dbbenutzername:dbpasswort@localhost/datenbankname
----------------------------------------
Alle Angaben ohne Gewähr!!:D
http://www.tobiasbaehr.de/