Am looking at using Puppy's SQlite3 database for a small project but am stumped at the code for how to set up for data in the database..
In MySQL (log on as root) - it would be something like:
Code: Select all
su mysql
mysql_install_db
Code: Select all
useradd -d /home/postgres postgres
mkdir /home/postgres
chown postgres home/postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
MySQL: (log in as mysql)
Code: Select all
/usr/bin/mysqld_safe &
Code: Select all
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >-/logfile 2>&1 &
Any help would be much appreciated..
crafty.
.