
After talking with my friend, I decide to take a try to compile mysql, I download the 4.1.12 version. I after few years time I never take a look at mysql, wow is easy to compile as well, but not able to do the timing, may be next time.
postgresql is just easy to compile and use:
to configure and compile
$ ./configure --prefix=/usr/local/pgsql
create database
# make /usr/local/pgsql/data
# chown postgres /usr/local/pgsql/data
$ initdb -D /usr/local/pgsql/data
startup database server
$ postmaster -D /usr/local/pgsql/data
(can't start up as root)
$ psql template1
(template1 is a default database, you can't do much thing with it)
No comments:
Post a Comment