Compiled C++ and Mysql codes run in python cgi script
From: Yong Wang (yong_at_net.tamu.edu)
Date: 08/04/04
- Previous message: Michael McCracken: "Re: help: Unit test fixture returning the same object"
- Next in thread: Larry Bates: "Re: Compiled C++ and Mysql codes run in python cgi script"
- Reply: Larry Bates: "Re: Compiled C++ and Mysql codes run in python cgi script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: python-list@python.org Date: Wed, 4 Aug 2004 14:30:01 -0500 (CDT)
Hi, All:
We have a network management system written in C++, MysQL, and Hp
SNMP. It works in Solaris command line. When I wrote a similar
python codes which call compiled C++ and mysql codes in solaris
command line, the comipled codes work fine in wraped python file. When
I change the python codes to web interface in python CGI script, I got
message
that "Can't connect to local MySQL server through socket
'/tmp/mysql.sock'"
How can I fix this problem because we want to migrate solaris command
line system to web access system ? The easiest way for me is directly
to call
compiled C++ and mysql codes (excutable) in python CGI scripts, then
post the run
results in website.
Thank you very much in advance and I am looking forward to your
reply.
Yong
- Previous message: Michael McCracken: "Re: help: Unit test fixture returning the same object"
- Next in thread: Larry Bates: "Re: Compiled C++ and Mysql codes run in python cgi script"
- Reply: Larry Bates: "Re: Compiled C++ and Mysql codes run in python cgi script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|