How to register users from register: Difference between revisions
Jump to navigation
Jump to search
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 ..." |
No edit summary |
||
| 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 12: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=