Connecting VMs to SQL

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-05-11
I have several VMs on my computer which I want to connect to the SQL installed on my laptop.  Is that possible?  my computer is joined to my company's domain, but the VMs are not.  The issues I am experiencing appear to be related to authentication.
Question by:red_75116
LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 1800 total points
ID: 35697805
if the VM/SQL is not joined to the domain, you HAVE to create and use a SQL login that is NOT based on windows authentication.
explanation: the VM /Windows cannot "check" your domain windows account (as it's not joined to the domain)

so: create in the SQL Server Security a non-windows based login (with password), and use that for the login.

Assisted Solution

radcaesar earned 200 total points
ID: 35697816
Is the VMs instance of SQL Server are exposed to public using a static IP?

If Yes, You can connect to that instance using SQL Server authentication.

Another option is, You need to tunnel your VMs to your company's domain using VPN and then you can connect.

Expert Comment

ID: 35697835
The VM's are on your network right?

Author Comment

ID: 35781521
No, my laptop is on my network joined to the domain and the VMs are not.  I supposed another option would be to have a VM that is only sql and let the other VMs connect to that.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question