I just have a quick question about PHPMyAdmin set up on Windows Subsytsem for Linux.
I am currently in the process of building a Shopify app and have set up the LAMP stack with PHPMyAdmin. Once inside of PHPMyAdmin, I saw an error that said it could not connect to MySQL because it did not have proper access (access denied).
In order to deal with this issue, I followed the instructions in this StackOverflow post below
The post instructed me to go create a new user in MySQL called pma and give that user access to all privileges followed by editing the contents of my config.inc.php
file by adding the following code to it:
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'my_password_here';
So everything seems to be working now but I wanted to know if this will cause any security issues for me once I put the app in production?
I am asking because, at the top of the config.inc.php file
, it says that you should not store any passwords inside of it.
So is this something I should worry about? And if it is, how can I solve the issue of my PHPMyAdmin access being denied without creating potential security issues?