You can create new Microsoft Dynamics NAV databases in the development environment and by using the New-NAVDatabaseWindows PowerShell cmdlet.
When you create a database you must specify the SQL Server instance for the database and the authentication type.
To create a database
In the development environment, on the File menu, choose Database, and then choose New.
In the Server Name field, enter the name of the SQL Server instance. You can choose the up arrow to select the server from a list of available servers or you can enter the server name manually.
In the Authentication field, select the type of authentication that you require. Choose the drop-down arrow to select Database Server Authentication or Windows Authentication.
-
If you select Database Server Authentication, then authentication is performed by the SQL Server instance that you have selected.
-
If you select Windows Authentication, then authentication is performed by the Windows domain controller.
-
If you select Database Server Authentication, then authentication is performed by the SQL Server instance that you have selected.
In the User ID field, enter your User ID if you have selected Database Server Authentication.
In the Password field, enter your password if you have selected Database Server Authentication.
To set the network type to be used when connecting to the server, choose the Advanced tab and select the net type from the drop down list box in the Net Type field. However, it is not usually necessary to change the network type from the default setting. The Default net type setting allows Microsoft Dynamics NAV to connect to a server using the default client network type assigned by SQL Server. You can change the net type with the Client Network Utility, which is part of the SQL Server Client Utilities, if they have been installed on the client computer.
Choose OK to connect to the server and open the New Database window.
In the New Database window, enter the information about the database that you want to create. The window contains the same tabs as the Alter Database window. The tabs are the following:
Now that you have created a new database, you must configure your Microsoft Dynamics NAV Server instance to access the database and then restart the service. For more information, see How to: Configure a Microsoft Dynamics NAV Server Instance. Next, you must synchronize the table schema. For more information, see Synchronizing Table Schemas.
Warning |
---|
You can always enlarge a database later on, but you cannot make it smaller. |
After you have created the database, you can enter program objects and company data. Before you can create company data, you must import some basic data from another Microsoft Dynamics NAV database. The imported data must at least include Data Common to All Companies and Application Objects. For more information, see Exporting and Importing Companies and Other Data.