i would like to remote from my house to my office in my instance of SQL Server but i have a trouble ,we have the primary server that has a public IP ,in this server there is installed a SQL Server Instance,i can connect on it just input in my Sql Server the "IP:1433" but my purpose is to connect in the SQl Server instance situated in my computer office and tried some way around but not luck ,then i would ask if you have any suggestion then i will try it .
Thank you so much for your attention
Cheers
You can use a vpn connection and then use your PC local IP inside the company
Related
I have just installed SQL Server 2008 R2 Express. I haven't set anything unusual during the installation process. Everything was default, that the instance name is SQLExpress, the connection is via SQL Server with user sa and my password. I have opened SQL Server Configuration Manager and I can see under SQL Express Service, SQL Server (SQLEXPRESS)'s state is running. Yet, it does not let me get connected :/
I am using Commodo Internet Security. I have looked at Firewall Log and it says only that Windows Operating System is blocked. I set CIS to ask for every connection and it doesn't show anything. I am not sure if it's it.
Any idea how to diagnose the problem? Thanks in advance.
EDIT:
Under the Server Name, I provide SQLEXPRESS which was the set name while installing the server.
As server name, you need to use
.\SQLEXPRESS or (local)\SQLEXPRESS
where the dot . stands for the local machine - SQLEXPRESS is the name of the instance (not the server name itself)
I have received SQL Server infos that looks like this:
DB Server: abc\xyz
Login: sa
Password: 12345
Database: MyDB
Now, I do not have server abc's access directly but I can ping it like this:
abc.def.company.com
How can I connect to the server using SQL Server Management Studio from my local machine?
Try to connect to abc.def.company.com\xyz
In SQL Server you need to provide servername\instancename in order to connect to a specific database. Usually the instancename is omitted when the instance that is running on servername is the default one.
| How can I connect to the server using MS SQL Management Studio from my local machine?
The exact same way like to one on your network.
THAT IS - after making sure you can reach your network. Now, if the admins on the other side do not have some really unusual setup or are total idiots (and yes, that is how it is) then the server will not be reachable via an internet address (the unusual setup would be one that has to be reachable, but this is unusual).
This means that normally you will have to set up a VPN of some sort, which they should have told you how to do. At least NONE of the machines I know of and worked with would be reachable by some dude on the internet - they are all on internal networks.
I have my websites database server named razatube.com, I don't have the server on my machine. How can I connect to this server from another machine to fetch database items? Any help would be highly appreciated.
PS: I don't usually use Microsoft products so pardon me if the answer stares directly on my face :(
All you need is the IP address or URL of the database server along with port number, login name and password of the SQL Server database. When you have all these, you can go to http://www.connectionstrings.com/ and get your desired connection string and use it into your web programs to connect your web server and your database server.
I have SQL Server 2005 dev installed on my machine.
Using SQL Server Management Studio: how can I connect to a SQL Server on another domain?
Please note that the computer has to be VPN'ed into the domain I am connecting to.
Thanks,
Voodoo
Once you're vpn'd in it should be just like local network. Put the fully qualified server name in the connection dialog in SQL Management Studio.
You should be able to do as normal once vpn'd in, but there are a few catches:
You may have to use the FQDN. ie sqlserver.network.local, not just sqlserver
windows authentication may or may not work, so probably just log in using a sql account, if you have one.
Turned out the username and password that was provided was removed from their server for unknown reason....
Thanks for the help, appreciated it very much..
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.