Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MySQL Connections Error

2 views
Skip to first unread message

Michele Cilfone

unread,
Jul 23, 2002, 7:08:35 AM7/23/02
to
Hello everybody,
I have a very strange problem that is driving me crazy.
I'm using a PC with Windows 2000 as operating system.
I have a Python program that connects to a MySQL server on the
localhost and, with a thread, periodically makes a connection and a
query to the database.

MySQL version is 3.23.49

It works fine, until I've added on the same machine a Visual Basic 6.0
program that connects (via ODBC) on the same database of the previous
program, 'cause
I need a data exchange between the two programs above described.

I'm using, as ODBC driver for MySQL, myodbc-2.50.39-nt.

The problem is that, not regularly, the Python program reports a MySQL
exception, like this:

2003: Can't connect to MySQL server on localhost (10048)

I've checked all the permission for the MySQL users, and all users
involved into the Python and into the VisualBasic program have the
same full access to the databasae.

Can anyone help me?

Please, it's urgent, because the machine is at the customer and I'm
stopping all the production with this problem

Thanks in advance

Michele Cilfone

0 new messages