Database syncer
The database syncer connects to an external database and syncs user data into Casdoor. A demo users table can be imported from the template XLSX.

Create a syncer
Go to Syncers and create a new syncer with the following. Save when done.

提示
Fill at least ID and Name in the Casdoor column mapping. Other useful fields include createdTime, Password, and DisplayName.
Required fields
| Field | Description |
|---|---|
| Organization | Organization to import users into. |
| Name | Syncer name. |
| Type | database. |
| Host, Port, User, Password | Source database connection. |
| Database type | MySQL, PostgreSQL, SQL Server, Oracle, or SQLite (Xorm-supported). |
| 数据库 | Source database name. |
| Table | Source user table name. |
| 表格列 | Column name (source), Column type (source), Casdoor Column (Casdoor user field). |