{"title":"Connecting a Business Central Server Instance to a Database","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/connect-server-to-database/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/connect-server-to-database, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/connect-server-to-database","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"This procedure describes how to use the Server Administration tool to change the Dynamics NAV database to which a Server instance connects.","date":"2024-04-16","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Connecting a Business Central Server Instance to a Database","slug":"connecting-a-business-central-server-instance-to-a-database","at":0,"chars":1693},{"level":3,"title":"To connect a database to a Business Central Server instance","slug":"to-connect-a-database-to-a-business-central-server-instance","at":240,"chars":1177},{"level":2,"title":"Related information","slug":"related-information","at":1417,"chars":276}],"text":"# Connecting a Business Central Server Instance to a Database\nThis procedure describes how to use the Business Central Server Administration tool to change the Business Central database to which a Business Central Server instance connects.\n### To connect a database to a Business Central Server instance\n1. Start the Business Central Server Administration tool.\n See Business Central Server Administration Tool<administration-tool>.\n2. Navigate to the Business Central server instance that you want to connect the database to, and then choose the Edit button.\n3. On the Database section, change the following fields to point at the converted database:\n  Database Instance\n  Database Name\n  Database Server\n> IMPORTANT\n> With a large database, increase the SQL Command Timeout setting to avoid timeouts during schema synchronization. The default setting is 30 minutes.\n4. Choose the Save button, and then, in the dialog box that appears, choose the OK button.\n5. In the left pane, choose the Business Central Server computer where the service instance that you modified in the previous step runs.\n Unless you are administering a remote computer, this is Microsoft Dynamics 365 Business Central \\(local\\).\n6. In the central pane, right-click the service instance that you modified, and then choose Restart.\n This stops and restarts the service instance, and the service instance now connects to the converted database.\n## Related information\n../upgrade/upgrading-the-data\n../upgrade/converting-a-database\nConfiguring the database<configure-sql-server-authentication>\nOptimizing SQL Server performance<optimize-sql-server-performance>\nConfiguring Business Central server<server-instance-settings>"}