Search found 2 matches

by theclaw
Mon Mar 02, 2009 12:33 pm
Forum: Installation
Topic: Problems while migrating from MySQL to SQLite
Replies: 2
Views: 2891

Re: Problems while migrating from MySQL to SQLite

Thanks, it's working now :)

Here's the script, if somebody needs it:

#!/bin/bash

if [ "x$1" == "x" ]; then
echo "Usage: $0 <dbname>"
exit
fi

if [ -e "$1.db" ]; then
echo "$1.db already exists. I will overwrite it in 15 seconds if you do not press CTRL-C."
COUNT=15
while [ $COUNT -gt 0 ...
by theclaw
Sun Mar 01, 2009 3:13 pm
Forum: Installation
Topic: Problems while migrating from MySQL to SQLite
Replies: 2
Views: 2891

Problems while migrating from MySQL to SQLite

Hello,

I used the following script to convert my MySQL database to SQLite:

#!/bin/bash

if [ "x$1" == "x" ]; then
echo "Usage: $0 <dbname>"
exit
fi

if [ -e "$1.db" ]; then
echo "$1.db already exists. I will overwrite it in 15 seconds if you do not press CTRL-C."
COUNT=15
while [ $COUNT -gt ...