Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]reinstalacja php, jak wgrać nowy phpmyadmin na wamp`a
piekloniebo
post 20.06.2009, 10:28:42
Post #1





Grupa: Zarejestrowani
Postów: 45
Pomógł: 1
Dołączył: 8.06.2009
Skąd: Sopot

Ostrzeżenie: (0%)
-----


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


--------------------
galeria artystów piekloniebo.pl - kolczyki, klipsy, bransoletki, prezenty
zapraszam

Darek Dawicki
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
erix
post 20.06.2009, 11:22:39
Post #2





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




Znajdź plik konfiguracyjny i dopisz:
  1. <?php
  2. $cfg['Servers'][$i]['CountTables'] = false;
  3. ?>


--------------------

ZCE :: Pisząc PW załączaj LINK DO TEMATU i TYLKO w sprawach moderacji :: jakiś błąd - a TREŚĆ BŁĘDU? :: nie ponaglaj z odpowiedzią via PW!
Go to the top of the page
+Quote Post
piekloniebo
post 20.06.2009, 11:51:50
Post #3





Grupa: Zarejestrowani
Postów: 45
Pomógł: 1
Dołączył: 8.06.2009
Skąd: Sopot

Ostrzeżenie: (0%)
-----


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


?>


--------------------
galeria artystów piekloniebo.pl - kolczyki, klipsy, bransoletki, prezenty
zapraszam

Darek Dawicki
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 17:25