Connecting VMs to SQL

Posted on 2011-05-05
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 142

    Accepted Solution

    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.
    LVL 9

    Assisted Solution

    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.
    LVL 8

    Expert Comment

    The VM's are on your network right?

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
    by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now