Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 30th, 2003, 12:10 AM
½nut ½nut is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Malaysia
Posts: 47 ½nut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ½nut
Error In Connecting From VB To MySQL { Redhat }

Hi there,

I am actually trying to use a VB program (window) to connect to a MySQL database (linux).
I had granted the permission for the mysql to allow connection from my PC but I still kept getting
the same error message below.

Tools that I had Used :
-----------------------------
1. Visual Basic 6
2. MySQL 4.0.13
3. MyODBC-3.51.06
4. Linux Red Hat Advanced Server
5. Window XP

Steps that I had taken :
------------------------------
1. Run the following command
GRANT ALL ON *.* TO gilabean@192.168.0.100 IDENTIFIED BY 'gilabean'
2. Try to connect by running the VB program.

The funny thing is that I tried it on another server and it works perfectly fine but when I tried it
on this server, it just couldn't connect to it and kept getting an error for that.

I would be grateful if anyone can point to me where's my fault because I kept on getting the same error
message when I tried to connect to the MySQL server on the particular IP.

***********************************************************************
* Run Time error '-2147467259 (80004005)' *
* [MYSQL][ODBC 3.51 Driver]Can't connect to MySQL server on '192.168.0.100' (10054) *
***********************************************************************


Cheers,
½nut

Reply With Quote
  #2  
Old June 30th, 2003, 08:01 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,834 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 23 h 30 m 30 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Question 1) You were able to connect to the mysql server on another machine, but not the one that you are currently trying from. Did you use the same program to try and connect with?
Question 2) Can you see the server? i.e. can you ping it?

Reply With Quote
  #3  
Old June 30th, 2003, 10:08 PM
½nut ½nut is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Malaysia
Posts: 47 ½nut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ½nut
Hi onslaught,

answer 1. Yep, I'm using the same program to connect. I just change the ip of the server. That's it.

answer 2. Yeah, I can see the server and I can even ssh into it.

Till now I still haven't get the answer why I can't connect to the live server. I don't even have any idea on what's wrong too~ LoL.


cheers,
½nut

Reply With Quote
  #4  
Old July 1st, 2003, 02:03 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
What is being logged in the MySQL error log? Are you granting wildcard access or are you host masking?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Error In Connecting From VB To MySQL { Redhat }


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway