libmysqld.dll - 任何工作示例? [英] libmysqld.dll - any working example?

查看:79
本文介绍了libmysqld.dll - 任何工作示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道使用嵌入式MySQL库的任何工作示例

for Win32(libmysqld.dll)?来自MySQL手册的那个例子并没有为我工作
。我正在寻找libmysqld.dll的Python API ...


-

JZ

Does anybody know any working example of using embedded MySQL library
for Win32 (libmysqld.dll)? That example from MySQL manual does not
work for me. I am looking for Python API to libmysqld.dll...

--
JZ

推荐答案

JZ写道:
有没有人知道使用嵌入式MySQL库的任何工作示例
for Win32(libmysqld.dll)?来自MySQL手册的那个例子不是
Does anybody know any working example of using embedded MySQL library
for Win32 (libmysqld.dll)?That example from MySQL manual does not
work for me. I am looking for Python API to libmysqld.dll...




你可能想要考虑这个,这不需要你发货任何

外部DLL:
http://sourceforge.net/projects / mysql-python


Joe



You may want to consider this, which doesn''t require you to ship any
external DLLs:
http://sourceforge.net/projects/mysql-python

Joe


2003年11月26日星期三17:31:35 GMT,Joe Francia< us **** @ soraia.com>

写道:
On Wed, 26 Nov 2003 17:31:35 GMT, Joe Francia <us****@soraia.com>
wrote:
有没有人知道任何工作的例子使用嵌入式MySQL库对于Win32(libmysqld.dll)?来自MySQL手册的那个例子并不适合我。我正在寻找libmysqld.dll的Python API ...
Does anybody know any working example of using embedded MySQL library
for Win32 (libmysqld.dll)?That example from MySQL manual does not
work for me. I am looking for Python API to libmysqld.dll...



您可能需要考虑这个,这不需要您运送任何外部DLL:
http://sourceforge.net/projects/mysql-python




不,你不理解我。我知道这个库我已经使用了很长时间了。

。但问题是我想将我的网页

(pythonic)应用程序移动到CD上,我希望它能够与MySQL一起工作作为一个

DLL库。我不想安装完整的mysql serwer。

我知道如何使用MySQLdb连接服务器,但我不知道

如何连接到那个dll。如果MySQLdb可以做到这一点,我不知道

如何使用它。 (MySQLdb.Connect()方法有主机参数,登录但是

libmysql.dll不需要这样的参数。)


-

JZ



No, you did not understand me. I know this library and I have been
using it for a long time. But the problem is I want to move my web
(pythonic) application to CD and I wanted it to work with MySQL as a
DLL library. I do not want to install full mysql serwer.
I know how to use MySQLdb connection for a server, but I do not know
how to connect to that dll. If MySQLdb can do this I do not know how
use it. (MySQLdb.Connect() method has parameters of host, login but
libmysql.dll do not need such parameters.)

--
JZ


JZ于2003年11月26日星期三上午03:30将这条鱼喂给企鹅:
JZ fed this fish to the penguins on Wednesday 26 November 2003 03:30 am:


有人知道使用嵌入式MySQL库的任何工作示例
for Win32(libmysqld.dll)? MySQL手册中的那个例子对我不起作用。我正在寻找libmysqld.dll的Python API ...

如果我理解我的书(嗯,看起来像新骑士已经被SAMS吞噬了
并重命名为 ;开发人员的库),该DLL必须指定链接器代替常规客户端

协议库。如果是这样,要让Python使用它可能需要重建MySQLdb模块来改变连接选项。


- ======= =========================================== ======= =====<
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG<
wu******@dm.net | Bestiaria支持人员<
========================================= ========= ============<
Bestiaria主页: http://www.beastie.dm.net/ <
主页: http://www.dm.net/~wulfraed/ <


Does anybody know any working example of using embedded MySQL library
for Win32 (libmysqld.dll)? That example from MySQL manual does not
work for me. I am looking for Python API to libmysqld.dll...
If I understand my book (hmmm, looks like New Riders has been
swallowed by SAMS and renamed to "Developer''s Library"), that DLL would
have to be specified to the linker in place of the regular client
protocol library. If so, to get Python to use it will likely require
rebuilding the MySQLdb modules changing the linkage option.

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Bestiaria Home Page: http://www.beastie.dm.net/ <
Home Page: http://www.dm.net/~wulfraed/ <






这篇关于libmysqld.dll - 任何工作示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆