Click here to Skip to main content
13,000,982 members (71,178 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 26-Feb-13 23:44pm
Updated 26-Feb-13 23:51pm
OriginalGriff 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
Top Experts
Last 24hrsThis month

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