Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.
You can build a FlexiCapture database by hand instead of creating it from the Administration and Monitoring Console. First create a blank database, and then initialize and configure it.
Create a blank database
For Microsoft SQL Server or Oracle, create a blank database with your standard database management tools, and then continue with Initialize and configure the database.For PostgreSQL, create the database from the psql client:
Connect to the PostgreSQL server using an account with CREATEDB+CREATEROLE or SUPERUSER privileges:
psql -h srvname -U postgres
Create a user account with a predefined password and the right to log in to the server. In this and the following steps, rolename stands for your user name.
CREATE ROLE rolename WITH ENCRYPTED PASSWORD 'rolepwd' LOGIN;
Create a new database. In this and the following steps, dbname stands for your database name.
CREATE DATABASE dbname;
Grant the user the rights to connect to the database and to create temporary tables:
GRANT CONNECT, TEMPORARY ON DATABASE dbname TO rolename;
Prioritize the fc schema over the public schema:
ALTER DATABASE dbname SET search_path = "$user", fc, public;
Connect to the newly created database:
\c dbname
Create an fc schema and specify the user you created as its owner:
CREATE SCHEMA fc AUTHORIZATION rolename;
Create an ltree extension in the database:
CREATE EXTENSION IF NOT EXISTS ltree;
Disconnect from the PostgreSQL server.
Carry out all subsequent operations on the PostgreSQL database under this user account.
Initialize and configure the database
After the blank database exists, complete the following steps. Where the database engines differ, run the variant for your database.
Run the schema description script for your database:
Microsoft SQL Server: Description.sql
Oracle: Description_Oracle.sql
PostgreSQL: Description_PostgreSQL.sql
By default, these scripts are in the C:\inetpub\wwwroot\FlexiCapture12\Server folder on the computer where the Application Server is installed.
Run the data initialization script for your database:
INSERT INTO Settings (Name, Value)VALUES ('DatabaseGUID', upper(md5(clock_timestamp()::text)::uuid::text));
Add the first user.
Microsoft SQL Server
INSERT INTO principal (Name, FullName, EMail, PasswordHash, PasswordReset) values (N'Login', N'FullName', N'email', '', 0)
PostgreSQL
INSERT INTO Principal (Name, FullName, Email, PasswordHash, PasswordReset) values ('Login', 'FullName', 'email', '', false);
Replace the placeholder values as follows.
Login – The login the user will use. Specify the login of the Windows user that will open the Administration and Monitoring Console when connecting to the database.
FullName – The full name of the user as displayed in their profile.
Email – The user’s email address.
Specify the system administrator roles for the new user.
Microsoft SQL Server
INSERT INTO principalpermission (PrincipalId, RoleType, IsAllowed) values (1, 10, 1);
PostgreSQL
INSERT INTO principalpermission (PrincipalId, RoleType, IsAllowed) values (1, 10, true);
Connect to the newly created database using the Administration and Monitoring Console.
For details about the permissions an account needs to create and configure a database, see Create a database.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"ABBYY Documentation","description":"Public documentation for ABBYY products","colors":{"primary":"#ff2038","light":"#ff2038","dark":"#ff2038"},"logo":{"light":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","dark":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","href":"/home"},"favicon":"https://mintcdn.com/abbyy/Bmjdl5TjCaidPxKi/favicon.png?fit=max\u0026auto=format\u0026n=Bmjdl5TjCaidPxKi\u0026q=85\u0026s=a48bd110e79a8b2cca62fe532aae9ad7","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://www.abbyy.com","label":"Website"}],"primary":{"type":"button","label":"Get Started","href":"/vantage/getting-started/overview"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/abbyy","x":"https://x.com/ABBYY_Software"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.abbyy.com/privacy"},{"label":"Legal","href":"https://www.abbyy.com/legal"},{"label":"Cookie Policy","href":"https://www.abbyy.com/cookie-policy"},{"label":"Do Not Sell","href":"https://abbyy-privacy.my.onetrust.com/webform/89584c5c-03d1-431e-81d2-37c2205d3b5b/a1068ab4-f849-4a25-8b80-c65119915ec3"}]}]},"search":{"prompt":"Search documentation..."},"integrations":{"gtm":{"tagId":"GTM-PC7TQHPL"}},"contextual":{"options":["copy","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"home"},{"language":"de","href":"de/home"},{"language":"es","href":"es/home"},{"language":"fr","href":"fr/home"},{"language":"ja","href":"ja/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"abbyy","hasAudioNarration":false,"actualSubdomain":"abbyy","customDomains":["docs.abbyy.com"],"gitSource":{"type":"github","owner":"abbyyproduct","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ae9a9ffae5051c3fdcae"},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b131141bef27015535884dd","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"de","tag":"FlexiCapture","count":2796},{"language":"es","tag":"FlexiCapture","count":2796},{"language":"en","tag":"FlexiCapture","count":2796},{"language":"fr","tag":"FlexiCapture","count":2796},{"language":"ja","tag":"FlexiCapture","count":2796},{"language":"de","tag":"FineReader Engine","count":1548},{"language":"es","tag":"FineReader Engine","count":1548},{"language":"en","tag":"FineReader Engine","count":1548},{"language":"fr","tag":"FineReader Engine","count":1548},{"language":"ja","tag":"FineReader Engine","count":1548},{"language":"de","tag":"Developer \u0026 Integrations","count":1526},{"language":"es","tag":"Developer \u0026 Integrations","count":1526},{"language":"en","tag":"Developer \u0026 Integrations","count":1526},{"language":"fr","tag":"Developer \u0026 Integrations","count":1526},{"language":"ja","tag":"Developer \u0026 Integrations","count":1526},{"language":"de","tag":"API Reference","count":1162},{"language":"es","tag":"API Reference","count":1162},{"language":"en","tag":"API Reference","count":1162},{"language":"fr","tag":"API Reference","count":1162},{"language":"ja","tag":"API Reference","count":1162},{"language":"de","tag":"Vantage","count":848},{"language":"es","tag":"Vantage","count":848},{"language":"en","tag":"Vantage","count":848},{"language":"fr","tag":"Vantage","count":848},{"language":"ja","tag":"Vantage","count":848},{"language":"de","tag":"Project Setup \u0026 Design","count":741},{"language":"es","tag":"Project Setup \u0026 Design","count":741},{"language":"en","tag":"Project Setup \u0026 Design","count":741},{"language":"fr","tag":"Project Setup \u0026 Design","count":741},{"language":"ja","tag":"Project Setup \u0026 Design","count":741},{"language":"de","tag":"Objects","count":728},{"language":"es","tag":"Objects","count":728},{"language":"en","tag":"Objects","count":728},{"language":"fr","tag":"Objects","count":728},{"language":"ja","tag":"Objects","count":728},{"language":"de","tag":"FlexiCapture SDK","count":727},{"language":"de","tag":"ABBYY FlexiCapture SDK","count":727},{"language":"es","tag":"FlexiCapture SDK","count":727},{"language":"es","tag":"ABBYY FlexiCapture SDK","count":727},{"language":"en","tag":"FlexiCapture SDK","count":727},{"language":"en","tag":"ABBYY FlexiCapture SDK","count":727},{"language":"fr","tag":"FlexiCapture SDK","count":727},{"language":"fr","tag":"ABBYY FlexiCapture SDK","count":727},{"language":"ja","tag":"FlexiCapture SDK","count":727},{"language":"ja","tag":"ABBYY FlexiCapture SDK","count":727},{"language":"de","tag":"API reference","count":643},{"language":"es","tag":"API reference","count":643},{"language":"en","tag":"API reference","count":643},{"language":"fr","tag":"API reference","count":643},{"language":"ja","tag":"API reference","count":643}],"searchSettings":{"isFiltersEnabled":true,"maxResults":10}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"footer{margin-top:auto;padding:2rem 0;border-top:1px solid var(--border-color);width:100%;clear:both;position:relative;z-index:1}body{display:flex;flex-direction:column;min-height:100vh}main{flex:1}footer a{color:var(--text-secondary);text-decoration:none;transition:color 0.2s ease}footer a:hover{color:var(--primary);text-decoration:underline}footer>div{max-width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}footer .footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;margin-top:1rem}@media (min-width: 1024px){footer{margin-left:0;padding-left:1rem}}.abbyy-stripe{background-image:linear-gradient(45deg, #dfebfd, #dfebfd 10px, #ecf3fe 10px, #ecf3fe 20px)}.dark .abbyy-stripe{background-image:linear-gradient(45deg, rgb(30 41 59 / 0.45), rgb(30 41 59 / 0.45) 10px, rgb(15 23 42 / 0.45) 10px, rgb(15 23 42 / 0.45) 20px)}.abbyy-btn-primary{background-color:#ff2038}.abbyy-btn-primary:hover{background-color:#e01c32}.abbyy-btn-primary:focus{--tw-ring-color: rgb(255 32 56 / 0.35)}.abbyy-link-primary{color:#ff2038}.abbyy-link-primary:hover{color:#e01c32}.dark .abbyy-link-primary{color:#ff4d60}.abbyy-eyebrow{color:#0b4aaa}.dark .abbyy-eyebrow{color:#93b8ec}.docs-home{max-width:80rem;margin:0 auto;padding:2.5rem 1.25rem 8rem}@media (min-width: 1024px){.docs-home{padding-left:2.5rem;padding-right:2.5rem}}.docs-home h1{font-size:2rem;font-weight:800;margin-top:1.5rem;margin-bottom:0.75rem;color:#0f172a;letter-spacing:-0.025em}@media (min-width: 640px){.docs-home h1{font-size:2.5rem}}.docs-home>p:first-of-type{color:#374151;font-size:1.0625rem;line-height:1.75;margin-bottom:2rem}.docs-home h2{font-size:1.375rem;font-weight:700;margin-top:2.5rem;margin-bottom:0.5rem;color:#0f172a}.docs-home a.link,.docs-home p a,.docs-home [data-as=\"p\"] a{color:#0f172a!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:3px!important}.dark .docs-home a.link,.dark .docs-home p a,.dark .docs-home [data-as=\"p\"] a{color:#f1f5f9!important}.docs-home>p{color:#374151;font-size:1rem;line-height:1.75;margin-bottom:1.75rem}.docs-home .card-group{gap:0.75rem!important;margin-top:0.75rem!important;max-width:64rem}.docs-home .card [data-component-part=\"card-content-container\"]{padding:1.25rem 1.5rem!important}.docs-home .card [data-component-part=\"card-title\"]{margin-top:0.5rem!important;font-weight:600!important;font-size:0.9375rem!important;color:#0f172a}.docs-home .card [data-component-part=\"card-content\"]{font-size:0.8125rem!important;line-height:1.5!important;color:#475569}.docs-home .card [data-component-part=\"card-cta\"]{margin-top:0.75rem!important}.docs-home .learn-more{display:block;margin-top:0.5rem;font-size:0.8125rem;color:var(--primary);font-weight:500}.dark .docs-home h1,.dark .docs-home h2{color:#f1f5f9}.dark .docs-home>p,.dark .docs-home .card [data-component-part=\"card-content\"]{color:#94a3b8}.dark .docs-home .card [data-component-part=\"card-title\"]{color:#f1f5f9}@media (max-width: 768px){footer .footer-links{flex-direction:column;gap:0.75rem}footer{padding:1.5rem 1rem}}"}]}
{"page":{"pagePath":"flexi-capture/create-database-manually","slug":"/flexi-capture/create-database-manually","pageMetadata":{"title":"Create a database manually","description":"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.","keywords":["create database manually","Description.sql","DBInitFill.sql","DatabaseGUID","PostgreSQL database","fc schema","first administrator user","SQL script","ABBYY FlexiCapture"],"href":"/flexi-capture/create-database-manually"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`You can build a FlexiCapture database by hand instead of creating it from the Administration and Monitoring Console. First create a blank database, and then initialize and configure it.`}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-blank-database`,children:`Create a blank database`}),`\n`,_jsxs(_components.p,{children:[`For Microsoft SQL Server or Oracle, create a blank database with your standard database management tools, and then continue with `,_jsx(_components.a,{href:`#initialize-and-configure-the-database`,children:`Initialize and configure the database`}),`.`]}),`\n`,_jsx(_components.p,{children:`For PostgreSQL, create the database from the psql client:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Connect to the PostgreSQL server using an account with `,_jsx(_components.code,{children:`CREATEDB`}),`+`,_jsx(_components.code,{children:`CREATEROLE`}),` or `,_jsx(_components.code,{children:`SUPERUSER`}),` privileges:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`psql`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -h`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` srvname`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` postgres`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Create a user account with a predefined password and the right to log in to the server. In this and the following steps, `,_jsx(_components.code,{children:`rolename`}),` stands for your user name.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ROLE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` rolename `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`WITH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` ENCRYPTED`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` PASSWORD`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'rolepwd'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` LOGIN`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Create a new database. In this and the following steps, `,_jsx(_components.code,{children:`dbname`}),` stands for your database name.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` DATABASE`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` dbname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Grant the user the rights to connect to the database and to create temporary tables:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`GRANT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` CONNECT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, TEMPORARY `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`ON`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` DATABASE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dbname `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`TO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` rolename;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Prioritize the fc schema over the public schema:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`ALTER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` DATABASE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dbname `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`SET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` search_path `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"$user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, fc, public;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Connect to the newly created database:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\c dbname`})}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Create an fc schema and specify the user you created as its owner:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` SCHEMA`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AUTHORIZATION rolename;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Create an ltree extension in the database:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` EXTENSION `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`IF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` NOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` EXISTS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ltree;`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Disconnect from the PostgreSQL server.`}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Carry out all subsequent operations on the PostgreSQL database under this user account.`})}),`\n`,_jsx(Heading,{level:`2`,id:`initialize-and-configure-the-database`,children:`Initialize and configure the database`}),`\n`,_jsx(_components.p,{children:`After the blank database exists, complete the following steps. Where the database engines differ, run the variant for your database.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Run the schema description script for your database:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Microsoft SQL Server: `,_jsx(_components.code,{children:`Description.sql`})]}),`\n`,_jsxs(_components.li,{children:[`Oracle: `,_jsx(_components.code,{children:`Description_Oracle.sql`})]}),`\n`,_jsxs(_components.li,{children:[`PostgreSQL: `,_jsx(_components.code,{children:`Description_PostgreSQL.sql`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`By default, these scripts are in the `,_jsx(_components.code,{children:`C:\\\\inetpub\\\\wwwroot\\\\FlexiCapture12\\\\Server`}),` folder on the computer where the Application Server is installed.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Run the data initialization script for your database:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Microsoft SQL Server: `,_jsx(_components.code,{children:`DBInitFill.sql`})]}),`\n`,_jsxs(_components.li,{children:[`Oracle: `,_jsx(_components.code,{children:`DBInitFill_Oracle.sql`})]}),`\n`,_jsxs(_components.li,{children:[`PostgreSQL: `,_jsx(_components.code,{children:`DBInitFill_PostgreSQL.sql`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Provide a unique identifier for the database.`}),`\n`,_jsx(CodeBlock,{filename:`Microsoft SQL Server`,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` dbo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`Settings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ProjectId, BatchTypeId, UserId, Workstation, RoleId, ProcessingStage) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`VALUES`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'DatabaseGUID'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`NEWID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(), `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`PostgreSQL`,numberOfLines:`2`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Settings (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`VALUES`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'DatabaseGUID'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`upper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(md5(clock_timestamp()::`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)::uuid::`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Add the first user.`}),`\n`,_jsx(CodeBlock,{filename:`Microsoft SQL Server`,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` principal (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, FullName, EMail, PasswordHash, PasswordReset) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`values`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N'Login'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N'FullName'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N'email'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`PostgreSQL`,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Principal (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, FullName, Email, PasswordHash, PasswordReset) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`values`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Login'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'FullName'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'email'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, false);`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Replace the placeholder values as follows.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Login`}),` – The login the user will use. Specify the login of the Windows user that will open the Administration and Monitoring Console when connecting to the database.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`FullName`}),` – The full name of the user as displayed in their profile.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email`}),` – The user’s email address.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Specify the system administrator roles for the new user.`}),`\n`,_jsx(CodeBlock,{filename:`Microsoft SQL Server`,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` principalpermission (PrincipalId, RoleType, IsAllowed) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`values`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`PostgreSQL`,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`INSERT INTO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` principalpermission (PrincipalId, RoleType, IsAllowed) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`values`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, true);`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Connect to the newly created database using the Administration and Monitoring Console.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For details about the permissions an account needs to create and configure a database, see `,_jsx(_components.a,{href:`/flexi-capture/admin-guide/create-database`,children:`Create a database`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a database manually","description":"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.","keywords":["create database manually","Description.sql","DBInitFill.sql","DatabaseGUID","PostgreSQL database","fc schema","first administrator user","SQL script","ABBYY FlexiCapture"],"href":"/flexi-capture/create-database-manually"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a blank database","slug":"create-a-blank-database","depth":2,"children":[]},{"title":"Initialize and configure the database","slug":"initialize-and-configure-the-database","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/abbyy/1facc084b5289853/images/vantage/scanning-station/breadcrumbs.js"],"subdomain":"abbyy","siteName":"ABBYY Documentation","title":"Create a database manually - ABBYY Documentation","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/flexi-capture/create-database-manually","matchLevel":0},"de":{"href":"/de/flexi-capture/create-database-manually","matchLevel":1},"es":{"href":"/es/flexi-capture/create-database-manually","matchLevel":1},"fr":{"href":"/fr/flexi-capture/create-database-manually","matchLevel":1},"ja":{"href":"/ja/flexi-capture/create-database-manually","matchLevel":1}},"searchTabScopes":[{"language":"en","product":"Vantage","tab":"Getting Started"},{"language":"en","product":"Vantage","tab":"Skills"},{"language":"en","product":"Vantage","tab":"Operations"},{"language":"en","product":"Vantage","tab":"Administration"},{"language":"en","product":"Vantage","tab":"Developer"},{"language":"en","product":"Vantage","tab":"Release Notes"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"en","product":"FineParser","tab":"Basic"},{"language":"en","product":"FineParser","tab":"Enterprise"},{"language":"en","product":"FineParser","tab":"Release Notes"},{"language":"en","product":"FineReader Engine","tab":"Introduction"},{"language":"en","product":"FineReader Engine","tab":"Guided Tour"},{"language":"en","product":"FineReader Engine","tab":"API Reference"},{"language":"en","product":"FineReader Engine","tab":"Visual Components"},{"language":"en","product":"FineReader Engine","tab":"Licensing"},{"language":"en","product":"FineReader Engine","tab":"Installation"},{"language":"en","product":"FineReader Engine","tab":"Distribution"},{"language":"en","product":"FineReader Engine","tab":"Specifications"},{"language":"en","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"en","product":"FineReader Engine","tab":"Release Notes"},{"language":"en","product":"FlexiCapture","tab":"Get Started"},{"language":"en","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"en","product":"FlexiCapture","tab":"Operator Guides"},{"language":"en","product":"FlexiCapture","tab":"Administration"},{"language":"en","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"en","product":"FlexiCapture","tab":"Release Notes"},{"language":"de","product":"Vantage","tab":"Getting Started"},{"language":"de","product":"Vantage","tab":"Skills"},{"language":"de","product":"Vantage","tab":"Operations"},{"language":"de","product":"Vantage","tab":"Administration"},{"language":"de","product":"Vantage","tab":"Developer"},{"language":"de","product":"Vantage","tab":"Release Notes"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"de","product":"FineParser","tab":"Basic"},{"language":"de","product":"FineParser","tab":"Enterprise"},{"language":"de","product":"FineParser","tab":"Release Notes"},{"language":"de","product":"FineReader Engine","tab":"Introduction"},{"language":"de","product":"FineReader Engine","tab":"Guided Tour"},{"language":"de","product":"FineReader Engine","tab":"API Reference"},{"language":"de","product":"FineReader Engine","tab":"Visual Components"},{"language":"de","product":"FineReader Engine","tab":"Licensing"},{"language":"de","product":"FineReader Engine","tab":"Installation"},{"language":"de","product":"FineReader Engine","tab":"Distribution"},{"language":"de","product":"FineReader Engine","tab":"Specifications"},{"language":"de","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"de","product":"FineReader Engine","tab":"Release Notes"},{"language":"de","product":"FlexiCapture","tab":"Get Started"},{"language":"de","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"de","product":"FlexiCapture","tab":"Operator Guides"},{"language":"de","product":"FlexiCapture","tab":"Administration"},{"language":"de","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"de","product":"FlexiCapture","tab":"Release Notes"},{"language":"es","product":"Vantage","tab":"Getting Started"},{"language":"es","product":"Vantage","tab":"Skills"},{"language":"es","product":"Vantage","tab":"Operations"},{"language":"es","product":"Vantage","tab":"Administration"},{"language":"es","product":"Vantage","tab":"Developer"},{"language":"es","product":"Vantage","tab":"Release Notes"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"es","product":"FineParser","tab":"Basic"},{"language":"es","product":"FineParser","tab":"Enterprise"},{"language":"es","product":"FineParser","tab":"Release Notes"},{"language":"es","product":"FineReader Engine","tab":"Introduction"},{"language":"es","product":"FineReader Engine","tab":"Guided Tour"},{"language":"es","product":"FineReader Engine","tab":"API Reference"},{"language":"es","product":"FineReader Engine","tab":"Visual Components"},{"language":"es","product":"FineReader Engine","tab":"Licensing"},{"language":"es","product":"FineReader Engine","tab":"Installation"},{"language":"es","product":"FineReader Engine","tab":"Distribution"},{"language":"es","product":"FineReader Engine","tab":"Specifications"},{"language":"es","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"es","product":"FineReader Engine","tab":"Release Notes"},{"language":"es","product":"FlexiCapture","tab":"Get Started"},{"language":"es","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"es","product":"FlexiCapture","tab":"Operator Guides"},{"language":"es","product":"FlexiCapture","tab":"Administration"},{"language":"es","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"es","product":"FlexiCapture","tab":"Release Notes"},{"language":"fr","product":"Vantage","tab":"Getting Started"},{"language":"fr","product":"Vantage","tab":"Skills"},{"language":"fr","product":"Vantage","tab":"Operations"},{"language":"fr","product":"Vantage","tab":"Administration"},{"language":"fr","product":"Vantage","tab":"Developer"},{"language":"fr","product":"Vantage","tab":"Release Notes"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"fr","product":"FineParser","tab":"Basic"},{"language":"fr","product":"FineParser","tab":"Enterprise"},{"language":"fr","product":"FineParser","tab":"Release Notes"},{"language":"fr","product":"FineReader Engine","tab":"Introduction"},{"language":"fr","product":"FineReader Engine","tab":"Guided Tour"},{"language":"fr","product":"FineReader Engine","tab":"API Reference"},{"language":"fr","product":"FineReader Engine","tab":"Visual Components"},{"language":"fr","product":"FineReader Engine","tab":"Licensing"},{"language":"fr","product":"FineReader Engine","tab":"Installation"},{"language":"fr","product":"FineReader Engine","tab":"Distribution"},{"language":"fr","product":"FineReader Engine","tab":"Specifications"},{"language":"fr","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"fr","product":"FineReader Engine","tab":"Release Notes"},{"language":"fr","product":"FlexiCapture","tab":"Get Started"},{"language":"fr","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"fr","product":"FlexiCapture","tab":"Operator Guides"},{"language":"fr","product":"FlexiCapture","tab":"Administration"},{"language":"fr","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"fr","product":"FlexiCapture","tab":"Release Notes"},{"language":"ja","product":"Vantage","tab":"Getting Started"},{"language":"ja","product":"Vantage","tab":"Skills"},{"language":"ja","product":"Vantage","tab":"Operations"},{"language":"ja","product":"Vantage","tab":"Administration"},{"language":"ja","product":"Vantage","tab":"Developer"},{"language":"ja","product":"Vantage","tab":"Release Notes"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"ja","product":"FineParser","tab":"Basic"},{"language":"ja","product":"FineParser","tab":"Enterprise"},{"language":"ja","product":"FineParser","tab":"Release Notes"},{"language":"ja","product":"FineReader Engine","tab":"Introduction"},{"language":"ja","product":"FineReader Engine","tab":"Guided Tour"},{"language":"ja","product":"FineReader Engine","tab":"API Reference"},{"language":"ja","product":"FineReader Engine","tab":"Visual Components"},{"language":"ja","product":"FineReader Engine","tab":"Licensing"},{"language":"ja","product":"FineReader Engine","tab":"Installation"},{"language":"ja","product":"FineReader Engine","tab":"Distribution"},{"language":"ja","product":"FineReader Engine","tab":"Specifications"},{"language":"ja","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"ja","product":"FineReader Engine","tab":"Release Notes"},{"language":"ja","product":"FlexiCapture","tab":"Get Started"},{"language":"ja","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"ja","product":"FlexiCapture","tab":"Operator Guides"},{"language":"ja","product":"FlexiCapture","tab":"Administration"},{"language":"ja","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"ja","product":"FlexiCapture","tab":"Release Notes"}]},"lastModified":"2026-08-25T16:04:03.189Z","originalFileLocation":"flexi-capture/create-database-manually.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a database manually - ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.abbyy.com/flexi-capture/create-database-manually\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=Setup\u0026amp;title=Create+a+database+manually\u0026amp;description=Build+a+FlexiCapture+database+by+hand%3A+create+a+blank+database%2C+run+the+Description+and+DBInitFill+scripts%2C+assign+a+GUID%2C+and+add+the+first+administrator.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=4143d89d3476b5348fd3c40749f4048dba29b6504fac52c45ff47ffbeaf4558b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a database manually - ABBYY Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=Setup\u0026amp;title=Create+a+database+manually\u0026amp;description=Build+a+FlexiCapture+database+by+hand%3A+create+a+blank+database%2C+run+the+Description+and+DBInitFill+scripts%2C+assign+a+GUID%2C+and+add+the+first+administrator.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=4143d89d3476b5348fd3c40749f4048dba29b6504fac52c45ff47ffbeaf4558b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff2038\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.abbyy.com/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/flexi-capture/create-database-manually.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.abbyy.com/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.abbyy.com/de/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.abbyy.com/es/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.abbyy.com/fr/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.abbyy.com/ja/flexi-capture/create-database-manually\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.abbyy.com/flexi-capture/create-database-manually\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.abbyy.com/#organization\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.abbyy.com#website\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.abbyy.com/flexi-capture/create-database-manually#webpage\",\"url\":\"https://docs.abbyy.com/flexi-capture/create-database-manually\",\"name\":\"Create a database manually\",\"description\":\"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\",\"dateModified\":\"2026-08-25T16:04:03.189Z\",\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.abbyy.com/flexi-capture/create-database-manually#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.abbyy.com/flexi-capture/create-database-manually#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Administration Guide\",\"item\":\"https://docs.abbyy.com/flexi-capture/install-setup/install-main\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploy ABBYY FlexiCapture\",\"item\":\"https://docs.abbyy.com/flexi-capture/admin-guide/process\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ABBYY FlexiCapture Distributed\",\"item\":\"https://docs.abbyy.com/flexi-capture/admin-guide/distributed\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Setup\",\"item\":\"https://docs.abbyy.com/flexi-capture/admin-guide/setup\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create a database manually\",\"item\":\"https://docs.abbyy.com/flexi-capture/create-database-manually\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.abbyy.com/flexi-capture/create-database-manually#article\",\"headline\":\"Create a database manually\",\"name\":\"Create a database manually\",\"description\":\"Build a FlexiCapture database by hand: create a blank database, run the Description and DBInitFill scripts, assign a GUID, and add the first administrator.\",\"url\":\"https://docs.abbyy.com/flexi-capture/create-database-manually\",\"mainEntityOfPage\":{\"@id\":\"https://docs.abbyy.com/flexi-capture/create-database-manually#webpage\"},\"dateModified\":\"2026-08-25T16:04:03.189Z\",\"keywords\":\"create database manually, Description.sql, DBInitFill.sql, DatabaseGUID, PostgreSQL database, fc schema, first administrator user, SQL script, ABBYY FlexiCapture\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"}}]}\u003c/script>","agentPointerHref":"/flexi-capture/create-database-manually.md","siteName":"ABBYY Documentation","nav":{"languages":[{"language":"en","products":[{"product":"Home","description":"ABBYY Documentation Portal","pages":[{"title":"Home","href":"/home"}]},{"product":"Vantage","description":"AI-powered Intelligent Document Processing","pages":[{"title":"Vantage","href":"/vantage/introduction"}]},{"product":"Vantage Self-Hosted","description":"Customer-hosted deployment of ABBYY Vantage on Kubernetes","versions":[{"version":"2.7"},{"version":"3.0"}],"pages":[{"title":"Vantage Self-Hosted","href":"/vantage/self-hosted/v3.0/introduction"}]},{"product":"FineParser","description":"Docker-native document parsing for AI pipelines","pages":[{"title":"FineParser","href":"/fine-parser/getting-started/introduction"}]},{"product":"FineReader Engine","description":"OCR SDK for developers","pages":[{"title":"FineReader Engine","href":"/fine-reader/engine/introduction"}]},{"product":"FlexiCapture","description":"ABBYY FlexiCapture: design, capture, scan, process, verify, administer, and integrate intelligent document processing.","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/flexi-capture/overview/hub"}]},{"tab":"Project Setup \u0026 Design","menu":[{"item":"Project Setup","icon":"diagram-project","description":"Configure projects, Document Definitions, workflows, and export on the capture platform.","pages":[{"title":"Project Setup","href":"/flexi-capture/admin-guide/architecture-ag"}]},{"item":"FlexiLayout Studio","icon":"shapes","description":"Author flexible layouts to capture data from unstructured documents.","pages":[{"title":"FlexiLayout Studio","href":"/flexi-capture/fls/introducing"}]},{"item":"Form Designer","icon":"table-cells","description":"Design machine-readable fixed forms for ABBYY FlexiCapture.","pages":[{"title":"Form Designer","href":"/flexi-capture/form-designer/about-program"}]}],"pages":[{"title":"Project Setup \u0026 Design","href":"/flexi-capture/admin-guide/architecture-ag"}]},{"tab":"Operator Guides","menu":[{"item":"Stations \u0026 Web Clients","icon":"user-check","description":"Operator guides for the verification, web, and mobile stations.","pages":[{"title":"Stations \u0026 Web Clients","href":"/flexi-capture/verificator-edit-images"}]},{"item":"Scanning Station","icon":"scanner-image","description":"Scan, import, and submit documents into FlexiCapture for processing.","pages":[{"title":"Scanning Station","href":"/flexi-capture/scanning-station/about-program"}]},{"item":"Invoice Processing","icon":"file-invoice","description":"Capture and verify invoices with FlexiCapture for Invoices, on-premises or in the cloud.","pages":[{"title":"Invoice Processing","href":"/flexi-capture/invoice-reader/ir-title-topic"}]}],"pages":[{"title":"Operator Guides","href":"/flexi-capture/verificator-edit-images"}]},{"tab":"Administration","menu":[{"item":"Administration Guide","icon":"gears","description":"Deploy, license, secure, and maintain ABBYY FlexiCapture.","groups":[{"group":"Administration Guide","pages":[{"group":"Installing and running the program","pages":[{"title":"Installing and running the program","href":"/flexi-capture/install-setup/install-main"},{"title":"System requirements for ABBYY FlexiCapture Distributed","href":"/flexi-capture/admin-guide/ds-requirements"},{"group":"Installing ABBYY FlexiCapture","pages":[{"title":"Installing ABBYY FlexiCapture","href":"/flexi-capture/install-setup/installing"},{"title":"Installing ABBYY FlexiCapture servers","href":"/flexi-capture/install-setup/installing-servers"},{"title":"Installing ABBYY FlexiCapture stations","href":"/flexi-capture/install-setup/installing-stations"},{"title":"Installing ABBYY FlexiCapture in a local area network","href":"/flexi-capture/install-setup/net-install"},{"title":"Upgrading from ABBYY FlexiCapture 10 and 11","href":"/flexi-capture/templates/update-fc"}]},{"group":"License Manager","pages":[{"title":"License Manager","href":"/flexi-capture/license-manager/license-manager"},{"title":"Types of protection","href":"/flexi-capture/license-manager/protect"},{"title":"Online licensing in ABBYY FlexiCapture 12","href":"/flexi-capture/license-manager/online-licensing"},{"title":"License parameters","href":"/flexi-capture/license-manager/license-param"}]},{"title":"Changing the installation mode, repairing and removing ABBYY FlexiCapture","href":"/flexi-capture/install-setup/modify-remove"},{"title":"Running the program","href":"/flexi-capture/install-setup/starting-program"}]},{"group":"Deploy ABBYY FlexiCapture","pages":[{"title":"Deploy ABBYY FlexiCapture","href":"/flexi-capture/admin-guide/process"},{"title":"Standalone and Distributed editions","href":"/flexi-capture/admin-guide/scaling"},{"group":"ABBYY FlexiCapture Standalone","pages":[{"title":"ABBYY FlexiCapture Standalone","href":"/flexi-capture/admin-guide/standalone"},{"title":"System requirements for ABBYY FlexiCapture Standalone","href":"/flexi-capture/admin-guide/sa-requirements"},{"group":"Installation","pages":[{"title":"Install ABBYY FlexiCapture Standalone","href":"/flexi-capture/admin-guide/sa-install"},{"title":"Install multiple stations with a single Licensing Server","href":"/flexi-capture/admin-guide/sa-install-plus"},{"title":"Install, remove, and update via the command line","href":"/flexi-capture/cmd-install"}]},{"title":"Create and open projects","href":"/flexi-capture/admin-guide/sa-setup"}]},{"group":"ABBYY FlexiCapture Distributed","pages":[{"title":"ABBYY FlexiCapture Distributed","href":"/flexi-capture/admin-guide/distributed"},{"title":"Prepare to install the Application Server","href":"/flexi-capture/admin-guide/ds-pre-install"},{"title":"Install the servers","href":"/flexi-capture/admin-guide/servers-setup"},{"title":"Database server","href":"/flexi-capture/admin-guide/database-server"},{"title":"Install stations","href":"/flexi-capture/admin-guide/stations-setup"},{"group":"Setup","pages":[{"title":"Set up ABBYY FlexiCapture Distributed","href":"/flexi-capture/admin-guide/setup"},{"group":"Authentication methods","pages":[{"title":"Authentication methods","href":"/flexi-capture/admin-guide/authentication-ag"},{"group":"Single Sign-On authentication","pages":[{"title":"Single Sign-On authentication for on-premise deployments","sidebarTitle":"Single Sign-On authentication","href":"/flexi-capture/sso-intro"},{"title":"How Single Sign-On works in ABBYY FlexiCapture","href":"/flexi-capture/sso-scheme"},{"title":"Set up Single Sign-On for an on-premise deployment","sidebarTitle":"Set up Single Sign-On","href":"/flexi-capture/sso-settings"},{"title":"Set up on-premise Single Sign-On with Azure Active Directory","sidebarTitle":"Azure Active Directory","href":"/flexi-capture/sso-aad"}]},{"group":"Implement custom Single Sign-On authentication","pages":[{"title":"Implement custom Single Sign-On authentication","href":"/flexi-capture/sso"},{"title":"Authentication using SAML identity providers in ABBYY FlexiCapture 12","href":"/flexi-capture/saml-authentication"},{"title":"Authentication using JSON Web Tokens","href":"/flexi-capture/jwt-authentication"}]}]},{"title":"Create a database","description":"Create a FlexiCapture database from the Administration and Monitoring Console, install client drivers, set up file storage, and grant engine permissions.","href":"/flexi-capture/admin-guide/create-database"},{"title":"Create a database manually","href":"/flexi-capture/create-database-manually"},{"title":"Connect to a Microsoft Azure file share","description":"Connect the ABBYY FlexiCapture Application Server to a Microsoft Azure Files share, store credentials in Credential Manager, and set the IIS application pool.","href":"/flexi-capture/file-storage-azure"},{"title":"Connect to an existing database","href":"/flexi-capture/admin-guide/database-connect"},{"group":"Set up the Processing Server","pages":[{"title":"Set up the Processing Server","href":"/flexi-capture/admin-guide/processing-server-setup"}]},{"title":"UploadProject","href":"/flexi-capture/admin-guide/upload-project"},{"group":"Use timeouts to prevent processing delays","pages":[{"title":"Use timeouts to prevent processing delays","href":"/flexi-capture/timeouts"},{"title":"Specify timeouts for inactive sessions","href":"/flexi-capture/timeouts-sessions"},{"title":"Specify timeouts for postponed tasks and tasks assigned to specific operators","href":"/flexi-capture/timeouts-tasks"}]}]}]}]},{"group":"Manage your licenses","pages":[{"title":"Manage your licenses","href":"/flexi-capture/admin-guide/license-management"},{"title":"Activate a license","href":"/flexi-capture/admin-guide/license-activation-manager"},{"title":"Monitor license parameters","href":"/flexi-capture/admin-guide/license-param-monitoring"},{"title":"Manage your licenses using the command-line console","href":"/flexi-capture/license-management-cmd"}]},{"group":"Email notifications","pages":[{"title":"Email notifications","href":"/flexi-capture/admin-guide/email-notification-ag"},{"title":"Set up the SMTP server","href":"/flexi-capture/admin-guide/email-notification-smtp"},{"title":"Set up email notifications","href":"/flexi-capture/admin-guide/email-notification-fc"},{"title":"Set up email notifications in a tenant","href":"/flexi-capture/admin-guide/email-notification-tenant"}]},{"group":"Manage users","pages":[{"title":"Manage users","href":"/flexi-capture/admin-guide/users-setup"},{"title":"Set up user roles and access rights","href":"/flexi-capture/admin-guide/roles-setup"},{"title":"Use the Active Directory to manage users","href":"/flexi-capture/admin-guide/users-ad"}]},{"group":"Security in ABBYY FlexiCapture 12","pages":[{"title":"Security in ABBYY FlexiCapture 12","href":"/flexi-capture/admin-guide/security-best-practice"},{"title":"Secure your network connections","href":"/flexi-capture/admin-guide/https"},{"title":"Encrypt your database and files","href":"/flexi-capture/admin-guide/encryption"},{"title":"Secure your IIS server","href":"/flexi-capture/admin-guide/security-iis"},{"title":"Disable detailed error responses in IIS","href":"/flexi-capture/admin-guide/security-iis-error-pages"}]},{"group":"Multitenant system","pages":[{"title":"Multitenant system","href":"/flexi-capture/admin-guide/multitenancy-ag"},{"title":"Manage tenants","href":"/flexi-capture/admin-guide/tenants-ag"},{"title":"Monitor a multitenant system","href":"/flexi-capture/admin-guide/multitenancy-monitor"}]},{"group":"CLI for project administration","pages":[{"title":"FCAdminTools","href":"/flexi-capture/admin-guide/projects-administration"},{"group":"FCAdminTools commands","pages":[{"title":"FCAdminTools commands","href":"/flexi-capture/admin-guide/projects-administration-commands"},{"title":"CheckProjectsVersion","href":"/flexi-capture/admin-guide/check-projects-version"},{"title":"CompactProject","href":"/flexi-capture/admin-guide/compact-project"},{"title":"CopyBatchType","href":"/flexi-capture/admin-guide/copy-batch-type"},{"title":"CopyDataType","href":"/flexi-capture/admin-guide/copy-data-type"},{"title":"CopyDocumentDefinition","href":"/flexi-capture/admin-guide/copy-document-definition"},{"title":"CopyImportProfile","href":"/flexi-capture/admin-guide/copy-import-profile"},{"title":"DeleteTrainingSamples","href":"/flexi-capture/admin-guide/delete-training-samples"},{"title":"DownloadNormalizationSettings","href":"/flexi-capture/admin-guide/download-normalization-settings"},{"title":"DownloadProject","href":"/flexi-capture/admin-guide/download-project"},{"title":"FindHotFolders","href":"/flexi-capture/admin-guide/find-hot-folder"},{"title":"LoadFlexiLayout","href":"/flexi-capture/admin-guide/load-flexi-layout"},{"title":"SetEnvironmentVariable","href":"/flexi-capture/admin-guide/set-environment-variable"},{"title":"SetExportRootPath","href":"/flexi-capture/admin-guide/set-export-root-path"},{"title":"SyncTrainingBatches","href":"/flexi-capture/admin-guide/sync-training-batches"},{"title":"UpdateAssembly","href":"/flexi-capture/admin-guide/update-assembly"},{"title":"UpdateNormalizationSettings","href":"/flexi-capture/admin-guide/update-normalization-settings"},{"title":"UpdateProject","href":"/flexi-capture/admin-guide/update-project"},{"title":"UpgradeProject","href":"/flexi-capture/admin-guide/upgrade-project"}]}]},{"group":"Failover configurations for ABBYY FlexiCapture Distributed","pages":[{"title":"Failover configuration","href":"/flexi-capture/admin-guide/fail-safety"},{"title":"Set up the Processing Server in a failover cluster","href":"/flexi-capture/admin-guide/fail-safety-proc"},{"title":"Set up a distributed file system","href":"/flexi-capture/fail-safety-dfs"},{"title":"Set up the Licensing Server","href":"/flexi-capture/admin-guide/fail-safety-lic"},{"title":"Set up the Application Server","href":"/flexi-capture/admin-guide/fail-safety-app"}]},{"title":"Create an ABBYY FlexiCapture backup","href":"/flexi-capture/appendix/backup"},{"group":"Update ABBYY FlexiCapture 12","pages":[{"title":"Update ABBYY FlexiCapture 12","href":"/flexi-capture/admin-guide/updating-current-release-version"},{"title":"Update your demo version of ABBYY FlexiCapture 12","href":"/flexi-capture/admin-guide/updating-demo-version"}]},{"group":"Upgrade from ABBYY FlexiCapture 10 and 11","pages":[{"title":"Upgrade from ABBYY FlexiCapture 10 and 11","href":"/flexi-capture/admin-guide/from-fc10-11"},{"title":"Update projects created in ABBYY FlexiCapture Standalone (*.fcproj)","sidebarTitle":"Update Standalone projects","href":"/flexi-capture/admin-guide/renew-local-fc"},{"title":"Update databases and projects created in ABBYY FlexiCapture Distributed","sidebarTitle":"Update Distributed databases","href":"/flexi-capture/admin-guide/renew-database-and-projects"},{"title":"Update ABBYY FlexiLayout Studio 10 or 11 projects (*.fsp)","sidebarTitle":"Update FlexiLayout Studio projects","href":"/flexi-capture/admin-guide/fls10-11-use"},{"title":"Use FlexiLayouts (*.afl) created in ABBYY FlexiLayout 10 or 11","sidebarTitle":"Use FlexiLayouts (.afl)","href":"/flexi-capture/admin-guide/document-definitions10-11-use"}]}]}]},{"item":"Performance Guide","icon":"gauge-high","description":"Architecture, scaling, and performance test results.","pages":[{"title":"Performance Guide","href":"/flexi-capture/performance-guide/pg-introduction"}]},{"item":"Troubleshooting","icon":"wrench","description":"Diagnose installation, integration, and processing problems.","pages":[{"title":"Troubleshooting","href":"/flexi-capture/troubleshooting-guide/tg-introduction"}]},{"item":"Administration and Monitoring Console","icon":"chart-line","description":"Monitor processing and manage the ABBYY FlexiCapture site.","pages":[{"title":"Administration and Monitoring Console","href":"/flexi-capture/web-stations/monitoring-console/start-page"}]},{"item":"Cloud","icon":"cloud","description":"Administer ABBYY FlexiCapture Cloud SaaS.","pages":[{"title":"Cloud","href":"/flexi-capture/introduction-cloud"}]}]},{"tab":"Developer \u0026 Integrations","menu":[{"item":"Programmer's Guide","icon":"code","description":"Integrate external systems with the Application Server Web Services API.","pages":[{"title":"Programmer's Guide","href":"/flexi-capture/api/overview/api"}]},{"item":"Scripting Reference","icon":"file-code","description":"Object model reference for scripts in Document Definitions and processing stages.","pages":[{"title":"Scripting Reference","href":"/flexi-capture/appendix/scripts/scripts"}]},{"item":"Reporting Service","icon":"chart-column","description":"Install and use the ABBYY FlexiCapture Reporting service.","pages":[{"title":"Reporting Service","href":"/flexi-capture/reporting-overview"}]},{"item":"Cloud REST API","icon":"cloud","description":"Process documents programmatically with the FlexiCapture Cloud REST API.","pages":[{"title":"Cloud REST API","href":"/flexi-capture/rest-api"}]},{"item":"FlexiCapture SDK","icon":"cube","description":"Embed capture, classification, and data extraction in your application with ABBYY FlexiCapture SDK.","pages":[{"title":"FlexiCapture SDK","href":"/flexi-capture/sdk/introduction/startpage"}]},{"item":"Connectors","icon":"plug","description":"Integrate ABBYY FlexiCapture with RPA, ECM, and BPM platforms.","pages":[{"title":"Connectors","href":"/flexi-capture/connectors/ui-path/up-about"}]}],"pages":[{"title":"Developer \u0026 Integrations","href":"/flexi-capture/api/overview/api"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/flexi-capture/release-notes/release-notes"}]}]}]},{"language":"de","pages":[{"title":"de","href":"/de/flexi-capture/create-database-manually"}]},{"language":"es","pages":[{"title":"es","href":"/es/flexi-capture/create-database-manually"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/flexi-capture/create-database-manually"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/flexi-capture/create-database-manually"}]}]},"basePath":"","title":"Create a database manually - ABBYY Documentation","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}