Hi everyone
Iâm having some problems using PHP My Admin. At my previous server, I installed it too, and it worked fine there. What it did there was display a login screen (http auth), where you had to fill in user name and password for that database.
Now Iâm trying to accomplish the same again, but it just doesnât work ! No matter what I do, it doesnât. Hereâs the Documentation file (which says how to install it).
For âHTTPâ and âcookieâ modes, phpMyAdmin needs a controluser that has only the SELECT privilege on the mysql.user (all columns except âPasswordâ), mysql.db (all columns) & mysql.tables_priv (all columns except âGrantorâ & âTimestampâ) tables.
You must specify the details for the controluser in the config.inc.php3 file under the $cfg[âServersâ][$i][âcontroluserâ]& $cfg[âServersâ][$i][âcontrolpassâ] settings.
The following example assumes you want to use pma as the controluser and pmapass as the controlpass, but this is only an example: use something else in your file!
Of course you have to replace localhost by the webserverâs host if itâs not the same as the MySQL serverâs one.
â I donât understand a sh$t of this. I never had to do anything with this at my previous server.
**$cfg[âServersâ][$i][âcontroluserâ] string
$cfg[âServersâ][$i][âcontrolpassâ] string
When using HTTP or cookie authentication modes (or âconfigâ authentication mode since phpMyAdmin 2.2.1), you need to supply the details of a MySQL account that has SELECT privilege on the mysql.user (all columns except âPasswordâ), mysql.db (all columns) & mysql.tables_priv (all columns except âGrantorâ & âTimestampâ) tables. This account is used to check what databases the user will see at login.
Please see the install section on âUsing HTTP authenticationâ for more information.
Note that if you try login to phpMyAdmin with this âcontroluserâ, you could get some errors, depending the exact privileges you gave to the âcontroluserâ. phpMyAdmin does not support a direct login with the âcontroluserâ.
In versions before 2.2.5, those were called âstduser/stdpassâ. **
â I donât get it !? There are two users and passes: controluser, controlpass, user and pass. For HTTP, some of these should be filled in and some of shouldnât. Which of those should be filled in or not !?? I always get this error about some root that is logged in and that everyone has access and all.
Whatâs the deal with this root ??