php.de

Zurück   php.de > Webentwicklung > Datenbanken

Datenbanken SQL und Co

Antwort
 
LinkBack (3) Themen-Optionen Bewertung: Bewertung: 1 Stimmen, 5,00 durchschnittlich.
Alt 14.09.2005, 16:59  
Gast
 
Beiträge: n/a
Standard phpMyAdmin config.inc.php einrichten !

Hallo Leute !

Ich habs es soweit hinbekommen das ich phpmyadmin geupdated habe,hab aber vergessen die alte config.inc.php abzusichern ! Jetzt hab ich leider kein beispiel von der alten config.....

Jetzt funktioniert natürlich phpMyAdmin nicht mehr,kann mir jemand helfen ?


Vielen dank im voraus


MFG Six Feet Under
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 14.09.2005, 17:07  
Gast
 
Beiträge: n/a
Standard

Diese Zeilen anpassen:

PHP-Code:
<?php
$cfg
['PmaAbsoluteUri'] = '';
?>
PHP-Code:
<?php
$cfg
['Servers'][$i]['host']          = 'localhost'// MySQL hostname or IP address
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                                                    // (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
                                                    // and "mysql/db" tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed
                                                    // with 'config' auth_type)
$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
                                                    // this db is displayed in left frame
                                                    // It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname

$cfg['Servers'][$i]['pmadb']         = '';          // Database used for Relation, Bookmark and PDF Features
                                                    // (see scripts/create_tables.sql)
                                                    //   - leave blank for no support
                                                    //     DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = '';          // Bookmark table
                                                    //   - leave blank for no bookmark support
                                                    //     DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation']      = '';          // table to describe the relation between links (see doc)
                                                    //   - leave blank for no relation-links support
                                                    //     DEFAULT: 'pma_relation'
$cfg['Servers'][$i]['table_info']    = '';          // table to describe the display fields
                                                    //   - leave blank for no display fields support
                                                    //     DEFAULT: 'pma_table_info'
$cfg['Servers'][$i]['table_coords']  = '';          // table to describe the tables position for the PDF schema
                                                    //   - leave blank for no PDF schema support
                                                    //     DEFAULT: 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages']     = '';          // table to describe pages of relationpdf
                                                    //   - leave blank if you don't want to use this
                                                    //     DEFAULT: 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info']   = '';          // table to store column information
                                                    //   - leave blank for no column comments/mime types
                                                    //     DEFAULT: 'pma_column_info'
$cfg['Servers'][$i]['history']       = '';          // table to store SQL history
                                                    //   - leave blank for no SQL query history
                                                    //     DEFAULT: 'pma_history'
$cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know that your pma_* tables
                                                    // are up to date. This prevents compatibility
                                                    // checks and thereby increases performance.
$cfg['Servers'][$i]['AllowRoot']     = TRUE;        // whether to allow root login
$cfg['Servers'][$i]['AllowDeny']['order']           // Host authentication order, leave blank to not use
                                     
'';
$cfg['Servers'][$i]['AllowDeny']['rules']           // Host authentication rules, leave blank for defaults
                                     
= array();
?>
Gruß
phpfan
  Mit Zitat antworten
Alt 14.09.2005, 17:12  
Gast
 
Beiträge: n/a
Standard

Danke erstmal ! Sorry ich bin absoluter noob ! Ich weiß nicht was ich da alles anpassen muss,was ich eingeben muss usw !

Gibt es vielleicht ne genau anleitung ?

MFG Six Feet Under!
  Mit Zitat antworten
Alt 14.09.2005, 17:37  
Gast
 
Beiträge: n/a
Standard

PHP-Code:
<?php
$cfg
['PmaAbsoluteUri'] = '';
?>
Dort trägst du genau das ein, was du im Browser eingibst, um phpMyAdmin aufzurufen, also z.B. http://irgendwo/phpmyadmin

Bei den anderen Einträgen steht doch überall ein Kommentar dabei. Manche Schalter hängen auch vom Server ab. Wenn du das auf deinem Rechner hast, brauchst du dort normalerweise nichts mehr ändern. Wenn es sich aber um einen Server im Internet handelt, kann ich dir auch nicht weiterhelfen. Du solltest dann mal bei deinem Hoster nachfragen, eventuell gibt es auch Infos auf der Homepage deines Hosters.

Gruß
phpfan
  Mit Zitat antworten
Alt 14.09.2005, 18:51  
Gast
 
Beiträge: n/a
Standard

Ist ein Webser ! Ich hab mich beim Hoster gemeldet der sagte nur (strato):

Sehr geehrter Herr XXXX,

vielen Dank für Ihre Anfrage vom 14.09.2005.
Leider muss ich Ihnen mitteilen, dass wir hierfür aufgrund unserer (natürlicherweise) begrenzten Ressourcen keinen Support übernehmen können. Hierfür bitten wir um Verständnis.

Toll ich muss aber phpmyadmin zum laufen bekommen !


MFG Six Feet Under
  Mit Zitat antworten
Alt 14.09.2005, 18:54  
Gast
 
Beiträge: n/a
Standard

Ähm, hat man als Strato-Kunde nicht phpMyAdmin automatisch zur Verfügung? Hast du die FAQ von Strato schon gelesen: http://www.strato-faq.de

Gruß
phpfan
  Mit Zitat antworten
Alt 14.09.2005, 19:00  
Gast
 
Beiträge: n/a
Standard

Jap hab sie schon gelesen ! Ich wollte myphpadmin Updaten ! Hatte aber vergessen die config.inc.php zu backupen
  Mit Zitat antworten
Alt 14.09.2005, 19:06  
Gast
 
Beiträge: n/a
Standard

Manchmal finde ich es echt unglaublich. Ich habe keine zwei Minuten gebraucht, um das zu finden:

http://www.strato-faq.de/view.php4?a...atid=*&extern=

Zu Faul oder zu ......... Kopfschüttel Da frage ich mich jetzt wirklich warum man hier Links zu interessanten Seiten postet, wenn sich das dann sowieso niemand ansieht.

Gruß
phpfan
  Mit Zitat antworten
Alt 14.09.2005, 19:23  
Gast
 
Beiträge: n/a
Standard

Findet tut man ja was,aber es funzt nicht ! Ich hab es mitlerweile hinbekommen ! Bei host localhost eintragen und nicht wie bei strato beschrieben den host name des servers !

So jetzt funzt aber mein confixx nicht mehr !

PHP-Code:
Warning: main(../settings.inc.php): failed to open stream: Permission denied in /srv/www/htdocs/confixx/html/user/auth.php on line 68

Warning: main(): Failed opening '../settings.inc.php' for inclusion (include_path='.:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html') in /srv/www/htdocs/confixx/html/user/auth.php on line 68

Warning: main(../functions.inc.php): failed to open stream: Permission denied in /srv/www/htdocs/confixx/html/user/auth.php on line 69

Warning: main(): Failed opening '../functions.inc.php' for inclusion (include_path='.:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html') in /srv/www/htdocs/confixx/html/user/auth.php on line 69

Warning: main(../sessions.inc.php): failed to open stream: Permission denied in /srv/www/htdocs/confixx/html/user/auth.php on line 70

Warning: main(): Failed opening '../sessions.inc.php' for inclusion (include_path='.:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html') in /srv/www/htdocs/confixx/html/user/auth.php on line 70

Fatal error: Call to undefined function: db_connect() in /srv/www/htdocs/confixx/html/user/auth.php on line 72<?php

?>
EDIT: Problem behoben,cmod rechte für confixx/html directory waren falsch !
  Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

LinkBacks (?)
LinkBack to this Thread: http://www.php.de/datenbanken/30914-phpmyadmin-config-inc-php-einrichten.html
Erstellt von For Type Datum
phpMyAdmin installation geht nicht | LYCOS iQ This thread Refback 07.11.2008 22:48
phpMyAdmin installation geht nicht | LYCOS iQ This thread Refback 18.09.2008 15:31
phpMyAdmin installation geht nicht | Lycos iQ This thread Refback 13.08.2008 11:54

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
phpMyAdmin einrichten finerip Datenbanken 5 02.07.2008 11:32
PhpAdmin config.inc.php fehlt palo PHP Tipps 2006 5 05.04.2006 22:34
[Erledigt] phpmyadmin Zugriff verweigert Datenbanken 7 31.12.2005 13:02
PhpMyAdmin Problem test022 Server, Hosting und Workstations 4 18.12.2005 11:12
phpMyAdmin Daten exportieren als ISO-8859-1 Format. DonTermi Datenbanken 0 15.09.2005 10:24
[Erledigt] Frage zu PHPMyAdmin Datenbanken 2 28.07.2005 18:32
Problem mit IIS6 und PHPMyAdmin PHP Tipps 2005-2 4 18.07.2005 21:58
#1064 bei export von mysql 4.0.20 auf 4.0.24 per phpmyadmin Datenbanken 2 15.06.2005 15:41
Probleme beim Einrichten von PHPMyAdmin PHP Tipps 2005 4 06.03.2005 18:57
Zugriff auf phpmyadmin PHP Tipps 2005 1 28.02.2005 18:41
phpmyadmin 2.6.1 bei Strato installieren klappt nicht.. Datenbanken 13 24.02.2005 21:34
PHPmyAdmin läuft nicht kampfnickel Datenbanken 11 30.12.2004 13:23
Installation von phpmyadmin 2.5.7 bei 1und1 klappt nicht PHP Tipps 2004 9 16.10.2004 17:35
[Erledigt] Kann SQL Datei über phpMyAdmin nicht importieren Datenbanken 1 11.08.2004 09:53
Connection Problem bei phpMyAdmin PHP Tipps 2004 1 14.07.2004 15:29

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
config.inc.php, phpmyadmin config, phpmyadmin config.inc.php, phpmyadmin einrichten, config.inc.php phpmyadmin, phpmyadmin port ändern, config.inc.php einrichten, phpmyadmin config inc php, phpmyadmin socket config, phpmyadmin config.inc, phpmyadmin config.inc.php beispiel, config.inc, config phpmyadmin, phpmyadmin socket, phpmyadmin config inc php einrichten, phpmyadmin configuration, config.inc.php wo, config inc php, phpmyadmin config.inc.php passwort, mysql config.inc.php

Alle Zeitangaben in WEZ +2. Es ist jetzt 14:21 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.