Adriaan
01-26-2002, 02:03 PM
I've installed phpMyAdmin succesfully on my server and it works for all running virual hosts (/phpMyAdmin/).
Now, how could I make a login window (.htaccs) for the MySQL users? I've tried some things, but all didn't really work.
Adriaan
hypernatic.net
01-26-2002, 02:34 PM
Ehm I think you are already logged in, the new phpMyAdmin uses cookies...
try logging out (bold link in the right frame)
Adriaan
01-26-2002, 03:05 PM
No, it doesn't ask for any l/p when going to the php admin.
hypernatic.net
01-26-2002, 04:38 PM
Originally posted by Adriaan
No, it doesn't ask for any l/p when going to the php admin.
Well thats what I am saying... It uses cookies so it AUTO logs-in (doesnt ask for pass)
Have a look at the config file and set auth_type = http
Doing so it will ask you to enter a username and password.
Adriaan
01-26-2002, 09:32 PM
Strange thing is, i've done that. It ask for a l/p now, but when typing login/pass it doesn't accept. (when typing only a known or unknown username it accepts; but doesn't show any databases)
Hmm ?
Hmm, do have a working user for stduser / stdpass ?
$cfgServers[1]['stduser'] = ''; // MySQL standard user settings (this user must have read-only
$cfgServers[1]['stdpass'] = ''; // access to the "mysql/user" and "mysql/db" tables)
without these settings it will not work.