Hi Tam,
After a bit of research, I could find that it's all stored in --
Code:
/var/cpanel/databases/grants_cpuser.yaml
in format --
Code:
---
MYSQL:
cpuser:
cpuser:
- GRANT USAGE ON *.* TO 'cpuser'@'1.2.3.4' IDENTIFIED BY PASSWORD '*XXXXXXXXXXXXXXXXXXXX'
- GRANT USAGE ON *.* TO 'cpuser'@'localhost' IDENTIFIED BY PASSWORD '*XXXXXXXXXXXXXXXXXXXX'
cpuser => users which show the IP under cPanel > Remote Database Access Hosts
1.2.3.4 => The IP which we applied to all and couldn't be removed.
It would be best if someone from cPanel can have a word on 'How Safe is to remove that line?'.
Vijay