Change default MySQL user and password?

The default user and password is hard to remember. How to change that?
On the dashboard, I can see only the option to change the password, but I cannot even do that
https://imgur.com/cXnZqJX
Additionally, does one domain only have option to create 1 database? I cannot even create one more database?
https://imgur.com/A8GydJV

Hello

If you are using the auto installer from CyberPanel it use random name/password for the database. So for database name you can’t change.

But you can change the database password of that database and then use new password in the config file.

But to do all that you need to have correct MySQL root password in a file from where CyberPanel reads it. Location of that file is /etc/cyberpanel/mysqlPassword

It must contain correct MySQL root password, otherwise, CyberPanel database related functions will not work.

So I assumed you have changed your MySQL root password as well, make sure to read this post Some Dont's After Installing CyberPanel! - Blog Posts - CyberPanel Community

Read under MYSQL Password

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.