How to change root database password?

I am on latest version of cyberpanel. How to change root database password ? I’m facing these:

/usr/local/CyberCP/CyberCP/settings.py

-bash: /usr/local/CyberCP/CyberCP/settings.py: Permission denied

/etc/cyberpanel/mysqlPassword

-bash: /etc/cyberpanel/mysqlPassword: Permission denied

/home/cyberpanel/.my.cnf

-bash: /home/cyberpanel/.my.cnf: No such file or directory

Welcome @Ariful Happy Your are here

Run as a sudo user or root. Contact your service provider to help you get your sudo account name and password.

Thanks @josephgodwinke for reply.

I am running as root. But seeing this !

@shoaibkk
Can you help in this regard ?

Now I understand your issue. I see bash so I will assume its eitherUbuntu. Run it like this:

nano /usr/local/CyberCP/CyberCP/settings.py
# after editing run the next command
nano /etc/cyberpanel/mysqlPassword
# after editing run the next command
nano /home/cyberpanel/.my.cnf