Click here to Skip to main content
11,495,331 members (69,395 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
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)

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

[edit]Email removed - OriginalGriff[/edit]
Posted 27-Feb-13 0:44am
Edited 27-Feb-13 0:51am
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
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!)

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

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 CHill60 318
2 Sascha Lefèvre 265
3 Nakul Chaudhari 236
4 OriginalGriff 191
0 Sergey Alexandrovich Kryukov 10,322
1 OriginalGriff 8,821
2 Sascha Lefèvre 3,889
3 Maciej Los 3,422
4 Richard Deeming 2,560

Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2015
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