Zaheslovat MYSQLADM

Pavel Voamcka - P2000 tech na infotip.cz
Pondělí Květen 13 22:47:06 CEST 2002


stahnete si novou verzi PhpMyadmina a tam je to docela dobre vyreseny

$cfgServers[$i]['host']          = 'localhost'; // MySQL hostname
$cfgServers[$i]['port']          = '';          // MySQL port - leave blank
for default port
$cfgServers[$i]['socket']        = '';          // Path to the socket -
leave blank for default socket
$cfgServers[$i]['connect_type']  = 'tcp';       // How to connect to MySQL
server ('tcp' or 'socket')
$cfgServers[$i]['controluser']   = 'poskuk';          // MySQL control user
settings
                                                // (this user must have
read-only
$cfgServers[$i]['controlpass']   = 'pokuk';          // access to the
"mysql/user"
                                                // and "mysql/db" tables)
$cfgServers[$i]['auth_type']     = 'http';    // Authentication method
(config, http or cookie based)?
$cfgServers[$i]['user']          = 'root';      // MySQL user
$cfgServers[$i]['password']      = '';          // MySQL password (only
needed
                                                // with 'config' auth_type)
$cfgServers[$i]['only_db']       = '';          // If set to a db-name, only

uzivatel 'poskuk' s heslem 'pokuk' ma prava pouze cist v tabulku users v
databazi mysql


Zdravi P2000
----- Původní zpráva -----
Od: "Filip Matoušek" <f.matousek na phoenix.cz>
Komu: "LINUX3" <databases na linux.cz>
Odesláno: 13. května 2002 17:06
Předmět: Zaheslovat MYSQLADM


> Mozna je to blba otazka ale jeste nejsem takovej profik, mam nainstalovan
> program phpAdmin, ale potrebuji ho nejak zaheslovat aby na nej nemohl
kazdy.
> http://1.0.0.1/mysqladm , podarilo se v  souboru config.inc.php3
>
> $cfgServers[1]['host'] = 'localhost';           // MySQL hostname
> $cfgServers[1]['port'] = '';                 // MySQL port - leave blank
for
> default port
> $cfgServers[1]['adv_auth'] = TRUE;             // Use advanced
> authentication?
> $cfgServers[1]['stduser'] = 'root';             // MySQL standard user
(only
> needed with advanced auth)
> $cfgServers[1]['stdpass'] = '';                 // MySQL standard password
> (only needed with advanced auth)
> $cfgServers[1]['user'] = 'root';                // MySQL user (only needed
> with basic auth)
> $cfgServers[1]['password'] = '';                // MySQL password (only
> needed with basic auth)
> $cfgServers[1]['only_db'] = '';                 // If set to a db-name,
only
> this db is accessible
> $cfgServers[1]['verbose'] = '';                 // Verbose name for this
> host - leave blan
>
>
>
> Ale to se objevi okenko kde zadam jmeno root ale heslo je prazdne, poradte
> jak vytvorit urcite uzivatele aby mohli pouzivat phpADMIN.
>
>
> Moc dik
> FM


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.361 / Virová báze: 199 - datum vydání: 7.5.2002



Další informace o konferenci Databases