Page 1 of 1

How to change the name of Database in Hesk?

Posted: Thu Mar 25, 2021 3:19 pm
by JHenckel
Hello everyone,
I was wondering how you can change the name of the database in Hesk? I can change in it MySQL, but if I do Hesk brings up an error page saying "Database not found", thus not allowing me to change the name of the database. Do i need to change the name is Hesk first?
Any guidance would be appreicated.
Thank yo
-Jake Henckel

Re: How to change the name of Database in Hesk?

Posted: Thu Mar 25, 2021 5:31 pm
by Klemen
Try this:

1. download hesk_settings.inc.php from your server
2. open it in a powerful text editor such as Notepad++ (do not use Microsoft notepad)
3. inside the file find line starting with

Code: Select all

$hesk_settings['db_name']
and change the value after = to the new database name
4. change the database name in MySQL
5. upload the modified hesk_settings.inc.php to your server

Re: How to change the name of Database in Hesk?

Posted: Fri Mar 26, 2021 12:33 pm
by JHenckel
Alright, that makes sense.
Thank you for the speedy reply.
I appreciate it.
Thank you
-Jake