Page 1 of 1

phpmyadmin

Posted: Thu Aug 01, 2002 12:43 pm
by lexx
I installed phpmyadmin and it works fine, but it doesnt ask for login or anything.... so everyone can go to the page and change mysql database and stuff....

How can I "protect" that....

Thanks for any help.

Posted: Thu Aug 01, 2002 12:56 pm
by phice
Go onto google, and search for .htaccess

Posted: Fri Aug 02, 2002 2:14 am
by twigletmac
Edit your phpadmin config file as per the installation instructions to use cookie or http authentication (read the bits in the documentation called 'Using authentication modes:' and 'Configuration'). You do need to have set up usernames and passwords on the MySQL database for this to work in a secure way (highly recommended anyway for security). Is there a reason why you didn't read the readme file when you installed the program?

Mac

Posted: Fri Aug 02, 2002 9:08 pm
by lexx
I set the thing to cookie
$cfgServers[$i]['controluser'] = 'blah';
$cfgServers[$i]['controlpass'] = 'blah';
$cfgServers[$i]['auth_type'] = 'cookie';

So I go to admin page now it asks me to enter username and password
What do I enter?
I tried to enter my admin and blah stuff it tells me
Access denied for user: 'blah@[host stuff]' (Using password: YES)

Posted: Fri Aug 02, 2002 10:25 pm
by Elfstone
I've never used phpMyAdmin, but from looking at the variables you pasted it seems the user and pass for the account are blah.