Gossamer Forum
Home : Products : DBMan SQL : Discussion :

How do I run a test instance?

Quote Reply
How do I run a test instance?
I'm running dbsql in production, and want to run a test instance on the same host, but entirely separate from the running thing in /opt/gt, and writing to a different MySQL database name. Is there an easy way to do this, short of creating two separate chroot jails or otherwise faking out the existence of two hosts?

Just copying everything from /opt/gt to /opt/gt-test and starting to tweak some configuration files, I discovered that they are still linked together (reconfiguring the test instance to use a different database changed the setting on the live one!). I'm not eager to go hunt down all the places I'd need to hack. There must be an easier way to do this.
Quote Reply
Re: [jxh] How do I run a test instance? In reply to
You have to change the path in db.cgi, admin.cgi, and database information in database.def

TheStone.

B.
Quote Reply
Re: [TheStone] How do I run a test instance? In reply to
That plus ConfigData.pm, as it turned out. It's now running in /opt/gt-test and seems to be adequately separated from the production instance. Thanks!