Problem to connect from pc to server

Hi,

I have MySQL server (4.1.14) in Fedora Core 4.
In WinXP I have MyODBC 3.51.12.

When I connect with program "MySQL Administrator", my connect is
successful, but if I try to connect via MyODBC driver, I fail.

Error is:
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on
'mekor18.eau.ee' (10013)

MySQL Administrator shows that it is possible to connect from my pc to
server.


Allan

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
Allan Sims [ Di, 22 November 2005 13:45 ] [ ID #1068706 ]

Re: Problem to connect from pc to server

Allan Sims wrote:

> Hi,
>
> I have MySQL server (4.1.14) in Fedora Core 4.
> In WinXP I have MyODBC 3.51.12.
>
> When I connect with program "MySQL Administrator", my connect is
> successful, but if I try to connect via MyODBC driver, I fail.
>
> Error is:
> [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on
> 'mekor18.eau.ee' (10013)
>
> MySQL Administrator shows that it is possible to connect from my pc to
> server.
>
>
> Allan
>
The first case (which appears to work for you) is using
SQLDriverConnect. I suspect that you are using SQLConnect in your code.
SQLConnect should merge connection information provided in function call
with that provided in the DSN. I would verify that these are correct
(ie; you are using the connect info you think you are using). You can do
this, in part, by creating an ODBC trace and by looking at your code,
and by viewing the DSN after you have saved it. etc etc


--
Peter Harvey, Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified? www.mysql.com/certification



--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
pharvey [ Fr, 25 November 2005 05:05 ] [ ID #1073043 ]
Datenbanken » gmane.comp.db.mysql.odbc » Problem to connect from pc to server

Vorheriges Thema: Re: Testing my odbc connection gives an error "Request returned with SQL_ERROR"
Nächstes Thema: Slow performance XP SP1