×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Win32 MyODBC Problem

Win32 MyODBC Problem

Win32 MyODBC Problem

(OP)
Web Server:
OS: WinNT 4 SP6a
MyODBC: 2.50.36

SQL Server:
OS: WinNT 4 SP6a
MySQL: 3.23.27

A System DSN setup as:

Windows DSN name: DBTEST
MySql Database: dbtest
Server: xxx.xxx.xxx.xxx
User: my_dbtest_user
Password: my_dbtest_password

When I access the windows DSN with an .asp page I get:

"Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10061)"

I can access the database via a MySQL client so I know it isn't a
permission problem. What stumps me is why it keeps referring to the
MySQL database on localhost and not on the remote machine where MySQL
is actually running.

I have tried:
 1) Re-installing MyODBC
 2) Creating new DSN with users that have more permissions.
 3) Creating new DSN using a NetBIOS name in the server field.
 4) Creating new DNS using a DNS name in the server field.

All have had the same results.

Any help would be greatly appreciated.

RE: Win32 MyODBC Problem

Have you entered the port number into your ODBC setup? usually this is 3306

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close