On 06/09/07 12:00 +0200, Yumi wrote:
> 
> I have two installations both funktion without the "terp" database. Webmin 
> does not show this.
> 
> Starting the rc2 with --update=all results in an error message that database 
> "terp" does not exist.
> 
> Traceback (most recent call last):
> &nbsp; File "./tinyerp-server.py", line 172, in <module>
> &nbsp; &nbsp; pooler.get_db_and_pool&#40;tools.config&#91;'db_name'&#93;, 
> update_module=True&#41;
> &nbsp; File "/home/dhxadmin/tinyerp-server-4.2.0-rc2/bin/pooler.py", line 45, 
> in get_db_and_pool
> &nbsp; &nbsp; db = sql_db.db_connect&#40;db_name&#41;
> &nbsp; File "/home/dhxadmin/tinyerp-server-4.2.0-rc2/bin/sql_db.py", line 
> 172, in db_connect
> &nbsp; &nbsp; tdb = psycopg.connect&#40;'%s %s %s %s %s' % &#40;host, port, 
> name, user, password&#41;, serialize=0, maxconn=maxconn&#41;
> psycopg.OperationalError&#58; FATAL&#58;&nbsp; database "terp" does not exist
> 
> Is this database required?
> 

When you make an update, you must specify the database with
'--database=databasename'
And by default the database name is terp.

-- 
Cédric Krier

Tiny sprl
Chaussée de Namur, 40
B-1367 Gérompont
Belgique
Tel: +32 81 81 37 00
Fax: +32 81 73 35 01
Web: http://www.tiny.be

Attachment: pgpoIR1TnrJJH.pgp
Description: PGP signature

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to