phpmyadmin-problem mit localhost

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • phpmyadmin-problem mit localhost

    hallo,

    bei mir laeuft mysql unter win98 und ich moechte gerne mit phpmyadmin arbeiten.

    also phpmyadmin in das verzeichnis g:/httpd/homepage/phpmyadmin installiert, denn mein virtueller webserver von omnicron hat httpd/homepage als server root.

    rufe ich dann in opera http://localhost/phpMyAdmin/ auf, so erhalte ich die meldung:
    MySQL 4.0.16 running on localhost as root@localhost

    soweit schoen. jetzt kommt das PROBLEM: sobald ich irgendeinen link anklicke, z.b. "create", so sucht der browser (opera7.11) die url

    http:///phpMyAdmin/db_create.php
    !!!
    anstelle von http://localhost/phpMyAdmin/db_create.php
    !!!
    in config.inc.php ist der hostname allerdings richtig gesetzt:
    $cfg['Servers'][$i]['host'] = 'localhost';

    wenn ich von hand immer localhost ergänze funktioniert es!

    fuer einen tipp bin ich wirklich dankbar, ich plage mich schon 2h mit diesem problem und habe auch im archiv nichts passendes gefunden. DANKE!

  • #2
    Schreib mal http://localhost/phpmyadmin in die config.inc.php anstelle von localhost.
    So hab ich das gemacht bei mir und es geht.

    EDIT:
    @Abraxax: Es war früh und ich war noch müde. Hast ja recht.
    Zuletzt geändert von XGremliN; 29.10.2003, 08:16.
    it's not a bug,
    it's a feature!

    Kommentar


    • #3
      Original geschrieben von XGremliN
      Schreib mal http://localhost in die config.inc.php anstelle von localhost.
      So hab ich das gemacht bei mir und es geht.
      ne. lass das, was du drin stehen hattest, stehen. also nur localhost ....

      diesen eintrag musst du anpassen, damit er so aussieht, wie es soll.
      PHP-Code:
      /**
       * Your phpMyAdmin url
       *
       * Complete the variable below with the full url ie
       *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
       *
       * It must contain characters that are valid for a URL, and the path is
       * case sensitive on some Web servers, for example Unix-based servers.
       *
       * In most cases you can leave this variable empty, as the correct value
       * will be detected automatically. However, we recommend that you do
       * test to see that the auto-detection code works in your system. A good
       * test is to browse a table, then edit a row and save it.  There will be
       * an error message if phpMyAdmin cannot auto-detect the correct value.
       *
       * If the auto-detection code does work properly, you can set to TRUE the
       * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
       */
      $cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/'
      steht ja schliesslich alles in der datei drin. oder?
      man(n) muss nur mal lesen....
      INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


      Kommentar


      • #4
        hi xgremlin und abraxax,

        vielen dank fuer eure antworten, jetzt klappt der zugriff! beim durchgehen der konfigurationsdatei war ich zu sehr auf hostname fixiert und habe deshalb nicht genau genug gelesen. sorry und ein herzliches dankeschoen,
        popo

        Kommentar

        Lädt...
        X