Fopa Léon Constantin
Fopa Léon Constantin

Reputation: 12383

Cannot create a database on a fresh installed monetdb

I'm new using MonetDB. I've follow this installation guide http://www.monetdb.org/Documentation/Guide/Installation and I'm facing a problem to just create a database. Here is the error

monetdb create /tmp/c
monetdb: cannot find a control socket, use -h and/or -p

Ruuning the command with option -por -h didn't change anything

monetdb -p create /tmp/c
monetdb: cannot find a control socket, use -h and/or -p

can come one help me ?

Upvotes: 2

Views: 2698

Answers (4)

Jonathan Ginsburg
Jonathan Ginsburg

Reputation: 1218

Instead of using monetdb you need to call monetdbd.

Upvotes: 4

redexp
redexp

Reputation: 5075

try to run command as monetdb user

sudo -u monetdb monetdb create database_name

Upvotes: 0

ady
ady

Reputation: 1168

Probably, you also can have an issue with the root access. I recommend creating the folder for MonetDB's data farm on your own: mkdir /tmp/c monetdbd create /tmp/c monetdbd start /tmp/c monetdb create db_name monetdb release db_name mclient -u monetdb -d db_name pass: monetdb

Upvotes: 0

Holger
Holger

Reputation: 1859

It seems that you didn't start (and even create) a dbfarm. The dbfarm is a directory that contains all the database instances that you create.

You should follow the tutorial.

Upvotes: 1

Related Questions