Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP]reinstalacja php
Forum PHP.pl > Forum > Przedszkole
piekloniebo
Witam,
Zwiesił mi się phpmyadmin na wamp`ie chciałbym zainstalować nowego phpmyadmina. Czy ktos wie jak to zrobić.
Nie chciałbym instalowac całego wampa jeszcze raz.
W ogóle to wywala mi obecnie taki bład:
Kod
Fatal error: Maximum execution time of 30 seconds exceeded in C:\program_files\wamp\apps\phpmyadmin2.11.6\libraries\List_Database.class.php on line 12
Call Stack
# Time Memory Function Location
1 1.2363 103448 {main}( ) ..\index.php:0
2 1.8432 308104 require_once( 'C:\program_files\wamp\apps\phpmyadmin2.11.6\libraries\common.inc.php' ) ..\index.php:34
3 27.8831 3763800 require_once( 'C:\program_files\wamp\apps\phpmyadmin2.11.6\libraries\List_Database.class.php' ) ..\common.inc.php:854


Pozdrawiam,
Darek
erix
Znajdź plik konfiguracyjny i dopisz:
  1. <?php
  2. $cfg['Servers'][$i]['CountTables'] = false;
  3. ?>
piekloniebo
erix,
masz na myśli plik konfiguracyjny phpmyadmina czyli
config.inc.php.

Tak?

zrobiłem jak mówiłeś.
zrestartowałem wampa na razie bez zmian... cały czas mam ren sam komunikat...
mój plik config.inc wygląda teraz tak:

Kod
<?php
.......coś coś tam

/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use
// $cfg['Servers'][0]. You can disable a server config entry by setting host
// to ''. If you want more than one server, just copy following section
// (including $i incrementation) serveral times. There is no need to define
// full server array, just define values you need to change.
$i++;
$cfg['Servers'][$i]['CountTables'] = false;
$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']     = 'mysqli';     // 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]['hide_db']       = '';          // Database name to be hidden from listings
$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


?>
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.