How to change the name of Database in Hesk?

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
JHenckel
Posts: 8
Joined: Mon Mar 08, 2021 7:20 pm

How to change the name of Database in Hesk?

Post 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
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

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

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
JHenckel
Posts: 8
Joined: Mon Mar 08, 2021 7:20 pm

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

Post by JHenckel »

Alright, that makes sense.
Thank you for the speedy reply.
I appreciate it.
Thank you
-Jake
Post Reply