Change FTP and cPanel passwords only (not database)

mndoug

Registered
Feb 17, 2016
3
0
1
England, UK
cPanel Access Level
Root Administrator
Older versions of Cpanel allowed you to change the FTP and Cpanel without affecting the database. Which was ideal as we want to protect our server and files, yet not have to go into config files and amend the pw each time...

Is there a workaround, or is this now in a different place?

I have Cpanel and WHM access.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :),

Are you using cPanel user name in your site mysql configuration file ? I will suggest you please create new mysql user and update your site configuration so that you will not face such issues.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
There used to be an option to change the passwords but leave the database password... is this no longer a feature?
It's still a feature, but the option is only available if the user has a ".my.cnf" file in their home directory. EX:

Code:
/home/$user/.my.cnf
You can create this file as the user if you prefer to make this option available.

Thank you.