Connecting Hesk to an external database

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
RubberBandITMan
Posts: 2
Joined: Thu Jul 31, 2025 5:02 pm

Connecting Hesk to an external database

Post by RubberBandITMan »

Version of script: 3.6.3
Hosting company: Kinsta

I recently installed Hesk on my company's web site so we can have some ticketing software. While the installation process went well, initially we were having trouble locating test tickets; this led me to believe that we may need a more powerful external database to run it.

I've created a database with our web hosting company, Kinsta, and verified that the database works and is accessible. I enter all the necessary data into Hesk (hostname, port, username, password, table info, etc.), and when I click "Test MySQL Connection," it gives me a "connection successful" message in green.

When I click "Save," however, it errors out, saying "invalid request." And when I click the "go back" button, the database connection defaults to localhost.

Any suggestions for getting Hesk to accept the external database?
Klemen
Site Admin
Posts: 10176
Joined: Fri Feb 11, 2005 4:04 pm

Re: Connecting Hesk to an external database

Post by Klemen »

Hesk doesn't really need a powerful database (unless you are serving millions of tickets).

Not locating test tickets hints to a different problem - ask your hosting company to disable any server-side caching for your help desk.

The "invalid request" error means that either PHP sessions are not working correctly, or (related to above) part of the code is cached on the server-side.
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
RubberBandITMan
Posts: 2
Joined: Thu Jul 31, 2025 5:02 pm

Re: Connecting Hesk to an external database

Post by RubberBandITMan »

Klemen wrote: Fri Aug 01, 2025 2:12 pm Hesk doesn't really need a powerful database (unless you are serving millions of tickets).

Not locating test tickets hints to a different problem - ask your hosting company to disable any server-side caching for your help desk.

The "invalid request" error means that either PHP sessions are not working correctly, or (related to above) part of the code is cached on the server-side.
Turns out, that's what I needed. With server-side caching disabled, things seem to be working great!

Thanks for the catch.
Post Reply