[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

R: [real] Re: PhpMyadmin multi user



Io ho provato a fare così:

Nel config.inc.php ho:
$cfgServers[1]['host']          = 'localhost'; // MySQL hostname
$cfgServers[1]['port']          = '';          // MySQL port - leave
blank for default port
$cfgServers[1]['socket']        = '';          // Path to the socket -
leave blank for default socket
$cfgServers[1]['connect_type']  = 'tcp';       // How to connect to
MySQL server ('tcp' or 'socket')
$cfgServers[1]['stduser']       = '<stduser>';          // MySQL
standard user settings (this user must have read-only
$cfgServers[1]['stdpass']       = 'password';          //   access to
the "mysql/user" and "mysql/db" tables)
$cfgServers[1]['auth_type']     = 'http';     // Authentication method
(config, http or cookie based)?
$cfgServers[1]['user']          = '';    // MySQL user
$cfgServers[1]['password']      = '';  // MySQL password (only needed
with 'config' auth)
$cfgServers[1]['only_db']       = '';       // If set to a db-name, only
this db is displayed at left frame
                                               // It may also be an
array of db-names
$cfgServers[1]['verbose']       = '';          // Verbose name for this
host - leave blank to show the hostname
$cfgServers[1]['bookmarkdb']    = '';          // Bookmark db - leave
blank for no bookmark support
$cfgServers[1]['bookmarktable'] = '';          // Bookmark table - leave
blank for no bookmark support


Poi ho creato un utente che ha (almeno dovrebbe avere) i diritti solo su
un db in questo modo: GRANT ALL PRIVILEGES ON user_base.* TO
'real_user'@localhost IDENTIFIED BY 'real_password';

Però quando mi collego l'utente vede tutti i db !?!?
Dove sbaglio ?

Ciao e grazie


Dr. Marcello Anderlini
m.anderlini@database.it
---------------------------------------------
Database Informatica S.r.l.
Microsoft Certified Partner
Tel.  +39059775070
Fax. +39059779545
http://www.database.it
--------------------------------------------- 

-----Messaggio originale-----
Da: mille [mailto:mille@inventati.org] 
Inviato: giovedì 19 febbraio 2004 11.10
A: Marcello Anderlini
Cc: debian-italian@lists.debian.org
Oggetto: [real] Re: PhpMyadmin multi user


[Thu, Feb 19, 2004 at 10:42:11AM +0100] - Marcello Anderlini scrive:
> Chi mi da una dritta su come configurare phpMyAdmin perche gestisca + 
> utenti che accedono al loro singolo db ?

beh, e' gia' cosi', basta creare un database, assegnarlo ad un utente ed
e' fatta..

-- 
 Era un mondo adulto.  Si sbagliava da professionisti.
 		  Paolo Conte
  
 [questa firma e' puramente casuale]


-- 
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


--
<<Messaggio verificato dal servizio antivirus di Database Informatica>>


--
<<Messaggio verificato dal servizio antivirus di Database Informatica>>



Reply to: