asterisk2billing.org
http://forum.asterisk2billing.org/

Data schema
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=8533
Page 1 of 1

Author:  dleduc002 [ Mon Jan 24, 2011 11:40 pm ]
Post subject:  Data schema

Hello

I am new in A2billing and I am trying to install the schema.
As per the doc I am supposed to install it this way.

Import data schema into new database
psql -d a2billing -f /usr/src/a2billing/a2billing-pgsql-schema.sql -U a2billinguser -W

/usr/local/src/a2billing/DataBase/psql

But found only the following: can't find a2billing-pgsql-schema.sql

-rw-r--r-- 1 1000 1000 1450 May 5 2010 a2billing-createlang-v1.0.0.sql
-rw-r--r-- 1 1000 1000 1360 May 5 2010 a2billing-createdb-user-v1.0.0.sql
-rw-r--r-- 1 1000 1000 620 May 6 2010 INSTALL
-rw-r--r-- 1 1000 1000 20417 May 6 2010 UPDATE-a2billing-v1.6.2-to-v1.7.0.sq

Then tried to import it

-bash-3.2$ psql -d a2billing -f /usr/local/src/a2billing/DataBase/psql/ a2billing-schema-v1.4.0.sql -U a2billinguser -W
psql: warning: extra command-line argument "a2billing-schema-v1.4.0.sql" ignored
Password for user a2billinguser:

Not sure I am doing the right things. :(

Thank you

Author:  jroper [ Tue Jan 25, 2011 12:36 pm ]
Post subject:  Re: Data schema

Hi

We have more success, and more people using MySQL, so I would advise you use that, as help will be more readily available.

Joe

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/