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?
Connecting Hesk to an external database
Moderator: mkoch227
-
- Posts: 2
- Joined: Thu Jul 31, 2025 5:02 pm
Re: Connecting Hesk to an external database
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.
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 
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


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
-
- Posts: 2
- Joined: Thu Jul 31, 2025 5:02 pm
Re: Connecting Hesk to an external database
Turns out, that's what I needed. With server-side caching disabled, things seem to be working great!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.
Thanks for the catch.