jasonlamkk
Verified User
- Joined
- Mar 19, 2005
- Messages
- 10
after installing DA (a clean install),
i find that phpMyAdmin was not linked up with directAdmin,
no-one can login by DA username and password, but only MySQL accounts that i created, da_admin also.
i think this is a problem of phpMyAdmin config.inc.php
i don't think the auth_type should be http which ask user to input a MySQL account instead of using DA account,
but what config may allow DA to auth the user?
(i found out 2 config.inc.php files,
- one in /var/www/html/phpMyAdmin*/
- one in /usr/local/directadmin/(forget)/
this one is protected (owner= root, mod 711)
but both have the same content, ie use http auth
i tried to use 'config' auth with da_admin and password, then all user can view all database (since they are using the same phpMyAdmin folder with configured account and password)
shall i make a copy of phpMyAdmin to http://domain.com:2222/phpMyAdmin/
? (this may block access from public but all users may view database of eachother)
i have saw sb. posted his config.inc.php with a complex $cfg['PmaAbsoluteUri'] , but the one on my machine is the same as the one downloaded from phpMyAdmin.net, so where can i find the one provided by DA?
i find that phpMyAdmin was not linked up with directAdmin,
no-one can login by DA username and password, but only MySQL accounts that i created, da_admin also.
i think this is a problem of phpMyAdmin config.inc.php
$cfg['PmaAbsoluteUri'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = ''; $cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
i don't think the auth_type should be http which ask user to input a MySQL account instead of using DA account,
but what config may allow DA to auth the user?
(i found out 2 config.inc.php files,
- one in /var/www/html/phpMyAdmin*/
- one in /usr/local/directadmin/(forget)/
this one is protected (owner= root, mod 711)
but both have the same content, ie use http auth
i tried to use 'config' auth with da_admin and password, then all user can view all database (since they are using the same phpMyAdmin folder with configured account and password)
shall i make a copy of phpMyAdmin to http://domain.com:2222/phpMyAdmin/
? (this may block access from public but all users may view database of eachother)
i have saw sb. posted his config.inc.php with a complex $cfg['PmaAbsoluteUri'] , but the one on my machine is the same as the one downloaded from phpMyAdmin.net, so where can i find the one provided by DA?