How to connect to SQL Server from Red Hat 6.4 via Node.js - sql

Currently I am developing the Node.js web app on my local Mint linux machine, and connect to a local SQL Server 2008 (express) via SQL Server Authentication by using this node module mssql. Everything is fine now.
But now I need to deploy the app to a Red Hat 6.4 (64bit) machine and SQL Server 2008 R2. I was given a Windows Authentication way to access the SQL Server. I can use the Windows Authentication via the Microsoft SQL Server Management Studio to see the database and create tables. But how I can connect the app on Red Hat to the SQL server via Node.js?
I have installed this MS ODBC Driver 11 for SQL Server on the Red Hat server. What should the next move be? or best practise.

I just successfully connected to the SQL Server from Ubuntu 14.04.
I use FreeTDS as the driver, and unxiODBC as the driver manager, node odbc as the Node.js module to connect.
More information can see this link.
But I need to do more research, wondering if I can use the node module mssql to connect. mssql uses tds or tedious as drivers.

Related

Microsft SQL Server Developer Free Edition is a local database?

I was wondering if the Microsoft SQL Server the Free Edition is a SQL server than i can connect to from any other PC even if i shutdown the main PC which has the SQL server installed on, or it is just a local SQL server and the PC should always be online to allow other connections to?
You can have either a server installation like the free Express edition. It can be installed on a server or any other machine (even the client machine itself). It also bring the SQLLocalDB which is a light version of the Express Edition. In all cases the computer that hosts the database needs to be available for access (in your case as mentioned turned on).
https://www.microsoft.com/en-us/download/details.aspx?id=101064
If you have the need that the database should be available without having to turn on a computer, you want to take a look at the Azure SQL database versions which are the cloud based versions of SQL Server. Depending on the needs you can pick from different flavours like the serverless tier:
https://learn.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview?view=azuresql

Not able to connect to SQL Server

I've installed SQL Server 2008 R2 in my system but i'm not able to connect to the same from my colleague's machine which is on the same network.
Firewall is off on both systems.
Edited:
I've installed SQL Server 2008 R2 in my system the same installation is present in my colleague's system. While trying to connect to my machine from his machine using SQL Server Management studio it was showing an error as follows..
(I've used the server name for SQL management studio of my system for login)
The server was not found or was not accessible
I found a solution to this problem after posting the question but not sure if this is the correct way.
The SQL Server Browser service was stopped when i tried to connect initially. Now when i start this service from Sql server configuration Manager i'm able to connect to my machine from his machine.
1-Install SQL Server (Management Studio) on both machines
2-On your machine, run SQL Server
3-Make sure the server name is your colleague's machine IP address
4-enjoy!

Microsoft SQL Server Management Studio 2008 missing any instance of a server

So i just installed the Server Management and when i try to connect to server it gives me an error. I went to SQL Server Configuration Manager and there i dont have nothing. I have empty lists where the server instances should be. So i dont have any running local server.
So someone can tell me how i'm suppose to set some server instance or what i'm doing wrong ?
I installed the Server Management on Windows 7, 32-bit OS, and i need exacly this version of 2008 and i dont need the updated versions at this point.
SQL Server Management tool is just a GUI for you SQL Server. SQL Server is a separate installation. If you are trying to control a remote SQL Server you will need to add that to the management UI, local servers should show up automatically if you install SQL Server locally.
You can download SQL Server 2008 - Express Edition from https://www.microsoft.com/en-us/download/details.aspx?id=30438
It will install SQL Server which your Management Studio can connect.

SQL Server 2012 on windows 8

I'm trying to install SQL Server Management Studio 2012 on Windows 8. After installing, I am unable to connect to local server and when I check SQL Configuration Manager, I found out that no sql services is running. I re-installed it many times but still no luck. Why sql services is not running ?
During the install process, check that you actually install the SQL Server Database Engine and not only SQL Server Management Studio. Management Studio is only the client software to access an instance of SQL Server somewhere (locally or on a remote server), while the database engine is actually the server software of SQL Server, hosting actual databases.

SQL Server Enterprise Manager Download? (Or Windows 7 equivalent?)

I maintain a couple of older sites running SQL Server 2000 and 2005. On my old XP box I was using SQL Server Enterprise Manager to access them.
I'm now on a Windows 7 box. Is that product still available for download/install and will it run on Windows 7? I can't seem to find a download for that specific component.
Or is there an alternative for Windows 7? I tried install SQL Server 2008 Manager Express, but the fails halfway through on Windows 7. I do have XP running in Virtual Box so could get by with Enterprise Manager if I could figure out where to install it from.
Enterprise Manager only supports up to sql server 2000. You can't use it to access sql server 2005. Instead, you need Sql Server Management Studio. You can download the express edition here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796
I'm running both management studio and windows 7 just fine.
As for enterprise manager, it was never available for download. You had to install it from the media that came with sql server. Similarly, if you want a non-express edition of management studio you need to install it when running setup for sql server.