VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 moving database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

albertramsbottom3
Starting Member

40 Posts

Posted - December 05 2006 :  05:28:24  Show Profile  Reply with Quote
Can anyone tell me how to move the database. My host has the database folder outside of the root folder. I need to be able change the connection string to go up one folder to a database folder called DB

Any ideas

devshb
Senior Member

United Kingdom
1898 Posts

Posted - December 05 2006 :  06:02:45  Show Profile  Visit devshb's Homepage  Reply with Quote
it's in shop$config.asp

you'd change the location, for example, from "myvpaspdatabase" to "../myvpaspdatabase"

then change the xshopid to force the system to pickup the new location

if your host doesn't allow parent-paths, then get them to enable them (if they're asking you to move it, then I assume they will have that enabled by default)

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on December 05 2006 06:04:36
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000