Thanks Albert,
The issue came up when I deployed my QA site in a subfolder of my Production site. The ‘Production Environment’ form was run for the QA site. I used a MySQL connection with the same name as the connection in my Development and in the Production environment. However, I did change the database to point to the QA database.
In my mind the Production and QA sites were now using their own separate database, but the Production site started placing data in the QA database.
I then began to think that a database connection is not isolated to the parent folder of the deployment, but instead common the the database and all application deployments on the same server.
In the windows world this would be like an ODBC connection can be used by any application.
My Production and QA environments are on a Linux machine, so I’m not familiar with where data connections are maintained. If indeed, the database connections created are shared between all scripcase applications on a single computing environment, then it seems that I need to change the database connection in development before I deploy to QA so I can keep the database operations in their correct database.
Does this make since? Any thoughts or knowledge of the production database connections scope would be great to hear.
Ed