change hesk table names

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mcl
Posts: 4
Joined: Tue Jan 30, 2007 8:39 am

change hesk table names

Post by mcl »

is it complicated to change the hesk table names? the reason I ask is that I would like to run two implementations of hesk on the same DB and obviously the tables would have to have different names...

thanks for any help
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well you would have to:
- change table names in the database (using phpMyAdmin for example)
- change names to the new ones throughout the Hesk PHP/SQL code. Quite some work and not recommended if you aren't familiar with PHP/SQL.

I'll see if I can add a variable for table prefix to the next version, but currently ou will have to do the above manually.
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
mcl
Posts: 4
Joined: Tue Jan 30, 2007 8:39 am

Post by mcl »

It would be great if you could add it as a variable to the next version :D

would a search and replace across all files be sufficent or would it require some code change?

thanks
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Search/replace could work, but not 100% sure. Try it and you'll find out :wink:
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
mcl
Posts: 4
Joined: Tue Jan 30, 2007 8:39 am

Post by mcl »

search and replace all files seems to have worked perfectly
Post Reply