Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> phpmyadmin i hasło
olofon
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 6.03.2007

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


Witam was!

Zainstalowałem sobie na linuxie phpmyadmin'a 2.6.0-pl3

Wprowadziłem

  1. <?php
  2. * Server(s) configuration
  3.  */
  4. $i = 0;
  5. // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
  6. // You can disable a server config entry by setting host to ''.
  7. $i++;
  8. $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
  9. $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
  10. $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
  11. $cfg['Servers'][$i]['connect_type'] = 'tcp';  // How to connect to MySQL server ('tcp' or 'socket')
  12. $cfg['Servers'][$i]['extension']  = 'mysql';  // The php MySQL extension to use ('mysql' or 'mysqli')
  13. $cfg['Servers'][$i]['compress'] = FALSE;  // Use compressed protocol for the MySQL connection
  14. // (requires PHP >= 4.3.0)
  15. $cfg['Servers'][$i]['controluser']  = ''; // MySQL control user settings
  16. // (this user must have read-only
  17. $cfg['Servers'][$i]['controlpass']  = ''; // access to the "mysql/user"
  18. // and "mysql/db" tables).
  19. // The controluser is also
  20. // used for all relational
  21. // features (pmadb)
  22. $cfg['Servers'][$i]['auth_type']  = 'config'; // Authentication method (config, http or cookie based)?
  23. $cfg['Servers'][$i]['user'] = 'rut'; // MySQL user
  24. $cfg['Servers'][$i]['password'] = 'rut'; // MySQL password (only needed
  25. // with 'config' auth_type)
  26. $cfg['Servers'][$i]['only_db']  = ''; // If set to a db-name, only
  27. // this db is displayed in left frame
  28. // It may also be an array of db-names, where sorting order is relevant.
  29. $cfg['Servers'][$i]['verbose']  = ''; // Verbose name for this host - leave blank to show the hostname
  30. ?>


I wyskakuje mi

Cytat
#2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

Rozumiem, że nie może połączyć się z gniazdem... (?)

Jak ustawie
Cytat
$cfg['Servers'][$i]['auth_type'] = 'http';


Wyskakuje okienko i wpisuje dane dokładnie jak w configu... i tez niedziała. (na 'cookie' też nie)
W bazie nie ma żadnych wpisów.


W katalogu tmp nie ma pliku mysql.sock może go utworze.. ale co w nim umieścić?

Co jest?


Dzięki za każdą pomoc!

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

DO ZAMKNIęCIA - PORADZIłEM SOBIE smile.gif guitar.gif

Ten post edytował olofon 6.03.2007, 15:57:21
Go to the top of the page
+Quote Post

Posty w temacie
- olofon   phpmyadmin i hasło   6.03.2007, 10:46:55


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 Aktualny czas: 22.08.2025 - 09:20