How to register users from register
From Yate Documentation
(Difference between revisions)
(Created page with "Supose we want to register our users from a database and we choose PostgreSQL. After creating our database with the table that we need, we have to tell Yate what database to ...") |
|||
Line 1: | Line 1: | ||
Supose we want to register our users from a database and we choose PostgreSQL. | Supose we want to register our users from a database and we choose PostgreSQL. | ||
− | After creating | + | After creating your database with the tables that you need, we have to tell Yate what database to use. So write in [[register|register.conf]] the name of the database connection to use: |
[default] | [default] |
Revision as of 14:10, 4 October 2012
Supose we want to register our users from a database and we choose PostgreSQL.
After creating your database with the tables that you need, we have to tell Yate what database to use. So write in register.conf the name of the database connection to use:
[default] account=Database_Name
And in PostgreSQL configuration file: pgsqldb.conf we have to set the connection data for this database in a section that will have the same name as the account:
[Database_Name] host= database= user= password=