How I can connect local sql database from Oracle VM OBIEE - sql

I am using Oracle VM for OBIEE and I want to connect my local SQL server DB
How I can do it? Are they any ODBC for vm machine?

When it comes to connect to and from VMs, the tricky part is figuring out how the IP addresses and overall networking are setup. There's nothing "special" concerning odbc connecting to a physical or virtual machine.

Related

Connecting web app to SQL Server on Azure VM

I have a SQL Server on Azure VM and I am trying to connect to it from my web app. Can someone point me in the right direction?
I have searched and I have not found one where it connecting to SQL on VM (iAAS). I have only seen tutorials connect to the SQL Server (PAAS). Any help appreciated.
SQL Server on an Azure VM is exactly the same as connecting to SQL Server on a physical server or a VMWare VM.
You will need to ensure that the VM has either a static IP Address or a DNS name. This is what you would use to connect to it from your client. You will also have to ensure that you deal with firewalls.
Is your client also an Azure VM or is it on-premises?
Here's two Azure documents may help you:
Connect to a SQL Server Virtual Machine on Azure.
This topic describes how to connect to your SQL Server instance running on an Azure virtual machine.
Connect your application to Azure SQL Database managed instance.
Today you have multiple choices when deciding how and where you host your application.Whatever choice you made, you can connect it to a Managed Instance.
Hope this helps.

SQL Server Developer Clustering Limitations?

Hi we're building out some test clusters in Azure, using Developer edition of SQL Server 2016. However with no firewalls between the two nodes, both nodes in same subnet, all tcp/ip settings enabled and sa permissions on both servers we're unable to connect using SSMS (management studio), what I'm trying to understand is are there any limitations with creating AlwaysOn Availabiity groups using SQL Developer 2016? Getting the following error
Mcrosoft SQL Server, Error 5 "Access is Denied"
However I can log onto the instances on both machines locally using ssms, but not across the network.
Think it might be a limitation on the sql server edition?
Thanks and sorry if this seems a bit random :)
In order to connect to SQL server on VM from a local machine. you have to not only open 1433 port for the VM on the portal, but also do you need to set up the firewall inside of the VM machine. Make sure you have the inbound 1433 port opened as below:

Can't connect to SQL Server on Virtualbox

This may be simple to solve, but I'm clueless...
I have SQL Server 2012 on my laptop with Windows 8 and Virtualbox with Windows Server 2008 and SQL Server 2012, and I want to test Transactional Replication by using the host machine as the publisher/distributor and the VM as the subscriber. Thing is, I can't seem to connect the host to the guest -- I can't access the guest database from inside the host database, but I do seem to be able to connect the guest to the host. SQL Configuration Manager seems right, I tried using the VM with both NAT and bridge, and I have internet connection on the VM.
If I type the IP address of the VM on the host's SQL Server and the sa user (actually, any user), I get the message saying 'sa' login failed. I can't connect with the guest's domain name.
Also, when I start the jobs at the host, a message appears on the log saying that there are no replications available or something.
I was following this tutorial: http://technet.microsoft.com/en-us/library/aa337437.aspx

Unable to connect to SQL Server 2005 installed on Win7 virtual machine

I am not able to connect to a SQL Server 2005 hosted on a Win7 virtual machine. I am new to VM, can someone help me locate the problem?
I am able to connect another SQL server which is installed on the local machine.
When you say you can't connect - that can mean a lot of things - really you need to be much more specific.
In addition to the comments and answers already here - If you're having trouble connecting to it in Sql Server Management Studio - you should open Configuration Manager on the VM itself and make sure that Shared Memory and Named Pipes are enabled (open the SQL Server Network Configuration node in the tree).
For example, SQL Server Express instances are configured by default to reject the kind of remote connection that SSMS wants to open by default.
first of all check your connection string (for reference):
http://www.connectionstrings.com/
Second you need to add an exception in the guest machine firewall or completely disable it (port 1433 is for sql tcp/ip access).
this works fine for me:
SQLConn.ConnectionString = "Network Library=DBMSSOCN; Data Source=xxx.xxx.xxx.xxx,1433;
Initial Catalog=mySQLServerDBName; User ID=myUsername;Password=myPassword"
good luck

how to connect to another sql server database(server pc) in local area network

i m creating an application, inwhich client has to acces a database stored in a remote location connnected through a live ip. how can i connect simply with a database server placed in LAN. both using sql server 2005 express edition. please refer me or help me on this
Set in your connection string IP address of remote server.
E.g.
"Data source=192.168.0.13; Database=MyDb;User ID=my_user;password=12345"
where 192.168.0.13 is your remote server IP and MyDb is your database name.
Also, make sure to configure your SQL Server Express to allow remote connections! Those are disabled by default after installation.
Check out the SQL Server Surface Configuration tool (if I'm not mistaken) to configure these settings.
Marc
This not about programming. You have forward the port which Sql Server uses on modem.