<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
The security problem was due to a version conflict with the libc libraries.
Updating the libc version solved the whole problem. Yipes...
<p>Jim Conger wrote:
<blockquote TYPE=CITE>(Answering my own question: It turns out that
this error message is
<br>missleading. mySQL is actually connecting, but then refusing
to attach to
<br>any database due to the mySQL security table settings. I'm hopefull
that
<br>I can find some settings in mySQL that allow python to connect.
If anyone
<br>has been through this before, let me know.
<p>Jim C.)
<p>Jim Conger wrote:
<p>> I have mySQL running on a RH Linux 6.1 box, and have added the
<br>> MySQLmodule.so to my python library. I can't figure out how
to connect
<br>> within python. My attempts look like:
<br>>
<br>> >>> import MySQL;
<br>> >>> db = MySQL.connect();
<br>> Traceback (innermost last):
<br>> File "<stdin>", line 1, in ?
<br>> MySQL.error: Can't connect to local MySQL server
<br>> >>>
<br>>
<br>> I know the mySQL server is running in the background during this
test,
<br>> so I'm noplussed. Any examples of working code would be appreciated.
<br>>
<br>> Jim C.
<p>--
<br>Jim Conger
<br>Project Manager
<br>Silicon Valley Oil Co.
<br>jimc@regnoc.com, 925-842-6729</blockquote>
<pre>--
Jim Conger
Project Manager
Silicon Valley Oil Co.
jimc@regnoc.com, 925-842-6729</pre>
</html>