On Tue, May 28, 2013 at 11:01:42AM -0400, Mark A. Hershberger wrote:
On 05/28/2013 09:29 AM, Nick White wrote:
I expected a command like the following to work:
sqlite3 db.sqlite < maintenance/tables.sql
Or should I go about this a different way entirely?
You should use maintenance/install.php to install the wiki from the command line. That will make sure you have a blank DB that you can then do imports on.
Thanks for the advice. I was hesitant to do this as it required me to move the LocalSettings.php out of the way in my setup, but I think I can change that from install.php, and if not, hey, that's the sort of thing scripts are good at :)