TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Database Management > MySQL
MySQL Forum dedicated to the world's most popular open source database engine.

Reply
 
Thread Tools Display Modes
Old May 3rd, 2010, 09:23 PM   #1 (permalink)
Andy
TechSpott Newbie
 
Join Date: Mar 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Andy is an unknown quantity at this point
Default How do I connect to a remote MySQL database on the same router in Visual Studio 2008

using C#? I'm creating a web application in Visual Studio 2008 using C#. I also have an Ubuntu linux server setup with MySQL. I have added the database to the linux MySQL server. However, I can't connect to it on my local pc. I've tried clicking the add connection button in server explorer (I'm using the MySql connector) and keep getting the error: 'Unable to connect to any of the specified MySQL hosts.'

I was able to connect to a remote mysql server on 127.0.0.1
On the linux server, I modified the 'bind-address' to the IP address of the linux machine: 192.168.0.190

I'm also using MySQL workbench 5.2.16 and can't connect to the linux server in there either. However, when I enter my local pc's IP address, 192.168..0.194, it recognizes my pc.
原帖地å€: TechSpott - Computer and technology forums http://www.techspott.com//showthread.php?p=12461

I don't know what I'm missing or doing wrong that I can't connect. I can easily connect to a local database, but I want to use one on my linux server.

Thanks in advance!
Andy is offline   Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
2008, connect, database, mysql, remote, router, studio, visual


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect to a mysql database on a different domain/server? Marc MySQL 0 April 25th, 2010 06:23 PM
Connect to a MySql database with Dreamweaver CS4? Woodchip MySQL 0 April 24th, 2010 10:37 PM
How to grant access for a User from a remote client (i.e., mysql cleint) ? NEEDLEGALHELP MySQL 0 April 21st, 2010 08:04 AM
How do I learn to use MySQL with visual studio web developer 2008 express edition? groundbrandon MySQL 0 April 2nd, 2010 01:51 AM
How can I create a database in mySQL and connect it to a web page? Chris Tech MySQL 0 April 2nd, 2010 01:51 AM

 
Forum Stats
Members: 14,382
Threads: 20,386
Posts: 27,888
Total Online: 45

Newest Member: Tfmruybv

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 11:11 PM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO