How to change the database path
Posted: Tue Dec 10, 2013 5:01 pm
Hi Trevor (or whoever else responds),
I've had SQL Yoga working great in a stack that I now have to rename and move to a different folder, so I need to change the path to my database. This is for an iOS app, but I connect to the db in the IDE so that SQL Yoga is loaded and the database connection is available. So if I'm in the IDE, I set the path accordingly. It's that path I need to change. I tried changing it in my dbconn_set "file" call, but everything just went haywire (this is for a SQLite db, btw). I am saving the database object settings in a button. Is there something in those settings that also has to change? If so, what's the proper procedure?
Thanks,
Chris Sheffield
I've had SQL Yoga working great in a stack that I now have to rename and move to a different folder, so I need to change the path to my database. This is for an iOS app, but I connect to the db in the IDE so that SQL Yoga is loaded and the database connection is available. So if I'm in the IDE, I set the path accordingly. It's that path I need to change. I tried changing it in my dbconn_set "file" call, but everything just went haywire (this is for a SQLite db, btw). I am saving the database object settings in a button. Is there something in those settings that also has to change? If so, what's the proper procedure?
Thanks,
Chris Sheffield