Problem to connect from pc to server

Problem to connect from pc to server

am 22.11.2005 13:45:28 von Allan Sims

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@m.gmane.org

Re: Problem to connect from pc to server

am 25.11.2005 05:05:53 von pharvey

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@m.gmane.org