don't know about postgresql, but it sounds like you didn't set up
either db server to start automatically at boot.  for mysql
(probably as root), type

service mysql start

that should get the db server running, allowing you to use the
mysql client to connect.


--- Original Message ---
From: Aaron <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: [newbie] staaarting databases

>Hi I am trying to get a database working in MD 9.0. I have both
mysql
>and postgrep installed. In both of them I can't get the server
to start.
>using postmaster I get the following error.
>
>postmaster does not know where to find the database system data.
>You must specify the directory that contains the database system
>either by specifying the -D invocation option or by setting the
>PGDATA environment variable.
>
>
>I look for a data folder and don't find one.
>
>these are the trees which I see contain a directory called data.
which
>is the right one???
>
>/usr/lib/pgsql/contrib/btree_gist/data
>/usr/lib/pgsql/contrib/cube/data
>/usr/lib/pgsql/contrib/intarray/data
>/usr/lib/pgsql/contrib/rtree_gist/data
>/usr/lib/pgsql/contrib/seg/data
>/usr/lib/pgsql/contrib/tsearch/data
>
>Thanks and how do I set it??
>-------------------------------------
>Mysql I try connecting to the server and I get the following errors
>
>ERROR 2002: Can't connect to local MySQL server through socket
>'/var/lib/mysql/mysql.sock' (2)
>Any idea anyone??
>thanks
>Aaron
>
>
>
>Thanks for any help.
>
>



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to