CyberPanel Community

How to change root database password?

Ar
Ariful #1

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

4 replies
jo
josephgodwinke #2

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.

Ar
Ariful #3

Thanks @josephgodwinke for reply.

I am running as root. But seeing this !

Ar
Ariful #4

@shoaibkk
Can you help in this regard ?

jo
josephgodwinke #5

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

Sign in to reply