How to connect 2 database on the same Database Server

neramit
Member Posts: 46
All expert,
Now i use native database and i have 2 database on the same database server and i want to connect to both database but i can connect only one database. Can i make more then one connection to database on the same server? if can do please tell me how to do
thank you
Now i use native database and i have 2 database on the same database server and i want to connect to both database but i can connect only one database. Can i make more then one connection to database on the same server? if can do please tell me how to do
thank you
0
Comments
-
Yes you can have to navision services running on the same box on different ports. Try to search on mibuso on how to install two navision services.
Basically the process is this. You copy the server folder into a another folder start dos prompt and go to the new folder and run server.exe with some parameters and installasservice.0 -
Check this: http://www.mibuso.com/forum/viewtopic.php?t=7479Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi ara3n,
thank you for your suggestion and i can do it but i can not connect both database in the same time because i cannot start 2 Database server service in the same time too.
if you have any suggestion please tell me
thank you.0 -
You have to adapt the files hosts en services in c:\windows\system32\drivers\etc (of C:\winnt\system32\drivers\etc, on NT and 2000 systems). First determine wat servername you are going to use (something like test, orso). Open hosts in Notepad. Add to the line saying 127.0.0.1 the choosen servername (in this case test), so the line reads something like
127.0.0.1 Localhost test
Save this file. Don't add a fileextension. Now open services with Notepad. Add the line
test 2408/tcp
to this file.
Start a commandprompt (cmd.exe or %comspec). Now go to the directory where you placed the new server files, using the CD command. Type the following line:
server cache=<value>, commitcache=<YES|NO>, database=<path to database>, servername=text, nettype=TCP.
It should now start without any problem. You can connect from the client with IPAdres:2408 or <NAME OF THE SERVER>:2408
If this works, you can simply run the line again, followed with Installasservice. Now a service called test is created, and this can start when the server starts.
If you want to install more servers, use 2409,2410,2411, etc. You can use any portnumber you like, when it is not used yet.0 -
Thank you very much everyone .
Now i can do it
\:D/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions