I've been trying to figure out how to customize my PMA configuration (for a specific user, not necessarily everyone) forever, but the docs make no sense at all to me. At this point I'm led to find config.inc.php... great, but where is it?
I'm using CentOS 7 and PMA 4.9.7, and the docs say it should be at /etc/phpMyAdmin. But this directory doesn't exist :-/
Do I need to create the directory AND file?
To do it for a single user, does the file name need to be config.[my_username].inc.php ?
Based on the docs, I think that I can just take the JSON file that I import for configuration settings and add it to the PHP file, like so:
Is that right?
I'm using CentOS 7 and PMA 4.9.7, and the docs say it should be at /etc/phpMyAdmin. But this directory doesn't exist :-/
Do I need to create the directory AND file?
To do it for a single user, does the file name need to be config.[my_username].inc.php ?
Based on the docs, I think that I can just take the JSON file that I import for configuration settings and add it to the PHP file, like so:
Code:
# this is in the JSON
{
"PmaNoRelation_DisableWarning": true,
"Console\/Mode": "collapse",
[yada yada yada],
"Server\/hide_db": ""
}
# so change it to this in the PHP
<?php
$cfg["PmaNoRelation_DisableWarning"] = true;
$cfg["Console"]["Mode"] = "collapse";
[yada yada yada]
$cfg["Server"]["hide_db"]: "";
?>