Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
sir,
I have created windows application. It will work nice on Local Area Network. Now i Want connect database on server through net work.
 
database : Mysql
 
for local area network i use connection string like this
 
windows application.
 
Public dbpath as String
dbpath = "Data Source=Client5_PC;Database=Proj_db_Nature;User ID=root;Password=nature;"
conn = New MySqlConnection(dbpath)
conn.Open()
 
clinet5: system name
this system connected to all other system using(LAN).
 
now i want connect the database using through internet.
 
is it possible to connect windows application to internet server?

if possible means kindly sent me the connection string..
[DELETED]@gmail.com
 

[edit]Email removed - OriginalGriff[/edit]
Posted 26-Feb-13 23:44pm
Edited 26-Feb-13 23:51pm
v2
Comments
OriginalGriff at 27-Feb-13 5:51am
   
Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

We can't send you the connection string for a database connection through the internet unles we are familiar with teh exact database and server you will be using: either look at your database host or talk to your hosting service - the connection string will either have an IP address or a URL to the connection machine (and hopefully will have better password protection than your existing one - I wouldn't expose my DB's to the entire world!)
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 210
1 Richard MacCutchan 100
2 kbrandwijk 90
3 ProgramFOX 80
4 Mukesh Bhagat 65
0 Sergey Alexandrovich Kryukov 9,050
1 OriginalGriff 8,151
2 CPallini 2,613
3 Richard MacCutchan 2,221
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100