- Server operating system version
- Debian 12.11
- Plesk version and microupdate number
- Plesk Obsidian v18.0.69_build1800250502.08
Hi, I am running Plesk Obsidian v18.0.69_build1800250502.08 on Debian 12.11 with Docker extension. And I would like to use Plesk phpMyAdmin to connect to DB servers in my Docker containers. I have found in docs, where to find phpMyAdmin installation i Plesk (`/usr/local/psa/phpMyAdmin/`) and that I have to create the `config.inc.php` file. I have don so and its content is as following:
```php
<?php
/**
* Servers configuration
* $cfg['Servers'][1] is configured by Plesk. Do not use $cfg['Servers'][0].
*/
$i = 2;
/* Authentication type */
// $cfg['Servers'][$i]['auth_type'] = 'cookie'; // cookie is default => commented out
/* Server parameters */
// $cfg['Servers'][$i]['host'] = 'localhost'; // localhost is default => commented out
$cfg['Servers'][$i]['port'] = '5002';
// $cfg['Servers'][$i]['AllowNoPassword'] = false; // false is default => commented out
```
If I use `mysql -P 5002 -u root -p`, I can connect to the database properly.
But if I try the sam from phpMyAdmin, I get followign error: mysqli::real_connect(): (HY000/1698): Access denied for user 'root'@'localhost'
Any ideas, what to add to the configuration?
Thanks.
```php
<?php
/**
* Servers configuration
* $cfg['Servers'][1] is configured by Plesk. Do not use $cfg['Servers'][0].
*/
$i = 2;
/* Authentication type */
// $cfg['Servers'][$i]['auth_type'] = 'cookie'; // cookie is default => commented out
/* Server parameters */
// $cfg['Servers'][$i]['host'] = 'localhost'; // localhost is default => commented out
$cfg['Servers'][$i]['port'] = '5002';
// $cfg['Servers'][$i]['AllowNoPassword'] = false; // false is default => commented out
```
If I use `mysql -P 5002 -u root -p`, I can connect to the database properly.
But if I try the sam from phpMyAdmin, I get followign error: mysqli::real_connect(): (HY000/1698): Access denied for user 'root'@'localhost'
Any ideas, what to add to the configuration?
Thanks.