Click here to Skip to main content
12,449,910 members (41,671 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB 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
Updated 26-Feb-13 23:51pm
v2
Comments
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
 
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
Top Experts
Last 24hrsThis month


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