CyberPanel Community

ClosedDatabase not backing up

ho
host #1

I created a database via phpmyadmin but when i back my website up. it only backs up the web files and not the database. How can I link a database created via phpmyadmin to my website? What should I do for it to be linked to a website?

6 replies
jo
josephgodwinke #2

Happy New Year @host

Check if you are using special characters in your database password

ho
host #3

I am not, but i created the db in phpmyadmin and everytime I check on my site on what database it is linked to, it shows nothing. How can I link a database created in phpmyadmin to my website?

jo
josephgodwinke #4

The recommended way to create databases on Cyberpanel is https://SERVER_URL:8090/dataBases/createDatabase anything else wunt work

Go to Cyberpanel Dashboard → Databases → PHPMYAdmin

Look for cyberpanel database under it is a table called databases_databases. Here you can tie an existing database and database user to an existing website. Just insert new row

Note the database username and password should have been created using cyberpanel and no other way

ho
host #5

sorry i don;t actually know how to tie an existing database and use to existing site. should i rename it?

jo
josephgodwinke #6

Recommended way is to dump that database and create a new database using CyberPanel. Then export the dump to the new cyberpanel created database for your respective website

ho
host #7

thank you. appreciate the help.

Sign in to reply