Check out example codes for "mysqli::real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)". It will help you in understanding the concepts better.

Code Example 1

$cfg['Servers'][$i]['port'] = '3307';

Code Example 2

Add this line to the file xampp\phpMyAdmin\config.inc:

$cfg['Servers'][$i]['port'] = '3307';
Here, my port is 3307, you can change it to yours.

Learn ReactJs, React Native from akashmittal.com