This database is ONLY to be used by Electrical so that any things we do only hoses us.
Make a new database. Now the way to use SQL Server to log into a dB on another machine is to use the more complicated name for the database. myServerName.myDomainName.myDomainNameSuffix. Here is an example. When you start SQL Server you the popup asks for 4 peeices of info
- Server name – so if you computer is abc123 and your domain is mycompanydomain and its suffix is .local… then the computer name is abc123.mycompanydomain.local
- Authentication in this case is SQL Server Authentication (someone made an accoubt called “ELBS” with “password” as the password
- Login: ELBS
- Password: password
Now right mouse click on “Databases” once you are in and choose “New Database”
Lets name ours MyAutoPLANTdB – accept all default options.
STOP — because this is Windows – permissions matter. So – the user for this needs config unless you are a sysadmin user. Make a new users if you have to under Security->Logins – but the info below assumes there is one
In the database using SQL Server Management Studio …
- expand the user … lets say “Bob” – so right mouse click Properties on Security->Logins->bob
- Click User Mapping on the left
- select the database and ensure the “Map” is checked at the top RH section
- also in the top, type “dbo” in the Default Schema
- then in the bottom, click the following options and
- db_datareader
- db_datawriter
- db_owner (this might negate the need for the 2 above – but it works)
- public
- click OK to accept
The database part is now complete.
Make a directory to hold your roots. In our case, it is X:\ELECTRICAL TESTING\ELECTRICAL TESTING1 ROOT\
- Now use the blank dB and put an AutoPLANT project (or projects) into it.
- Root Location (already exists) X:\ELECTRICAL TESTING\ELECTRICAL TESTING1 ROOT\
- Database Type: SQL Server
- Multi Project Mode: ON or checked
- Schema Location: Project Database
- Mixed Metric
- Use Central Project Mode
- Project Name ELEC TEST1
- Server: abc123.mycompanydomain.local
- database: MyAutoPLANTdB
- user: ELBS
- pass: password
- Allow Saving Password – checked (THIS IS THE KICKER!!!!)
- database name: 12313_ElecAutoPLANT
I have already tested it – it does work