Answer the question
In order to leave comments, you need to log in
How to spell the server name correctly?
Hello!
There is a virtualka with windows xp, on it the SQL server 2008 DBMS is installed
There the DB is already created.
I want to connect to this database in a node js project.
I found a manual here
. And the problem is that I don’t know how to write the server address correctly.
If the project and the DBMS were on the same machine, then the server would be "localhost"
var config = {
database: "TestDb",
server: "localhost",
userName: 'TestUser',
password: '12345678aA',
//driver: "msnodesqlv14",
options: {
encrypt: false
}
};
Answer the question
In order to leave comments, you need to log in
Name of a computer on the network or its IP.
To configure the connection, create an empty file test.udl
and click on it with the mouse.
As a result, it is still unknown to mankind how to connect to the database on the VM .... spat and installed the DBMS locally
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question