DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: webb123
今日帖子: 3
在线用户: 7
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/1 10:23:56
标题:
Windows Server 2019 下无法加载 libmysql.dll 浏览:1806
加入我的收藏
楼主: 如题,以下代码在Delphi7和10.3.2 测试都无法加载 libmysql.dll(5.7和8.0,32/64 位都无效)
var
  ErrCode, DllHand: Cardinal;
begin
  if OpenDialog1.Execute then
  begin
    DllHand := SafeLoadLibrary(OpenDialog1.FileName, ErrCode);
    if DllHand = 0 then
      ShowMessage('无法加载dll:' + SysErrorMessage(GetLastError))
    else
      ShowMessage('Dll加载成功:' + IntToStr(DllHand));
  end;
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/1 10:29:07
1楼: 测试代码和DLL
此帖子包含附件:earthsbest_2019111102847.zip 大小:2.98M
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 tuesdays (Tuesday) ▲▲▲▲△ -
普通会员
2019/11/1 16:06:18
2楼: 测试成功.....
此帖子包含附件:
PNG 图像
大小:22.3K
----------------------------------------------
delphi界写python最强, python界写delphi最强. 写自己的代码, 让别人去运行.
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/1 16:32:34
3楼: 楼上的系统不是Windows Server 2019 吧?
应该是少了某些组件,vc2013-2019的运行库都装了,也不行。安装 vs 2019 后正常了。
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 tuesdays (Tuesday) ▲▲▲▲△ -
普通会员
2019/11/1 16:59:50
4楼: 版本不对, 不要用mysql包中的dll. 

看我这个dll.  server 2019  32/64下测试通过.
此帖子包含附件:
PNG 图像
大小:21.7K
----------------------------------------------
delphi界写python最强, python界写delphi最强. 写自己的代码, 让别人去运行.
作者:
男 tuesdays (Tuesday) ▲▲▲▲△ -
普通会员
2019/11/1 17:41:22
5楼: https://downloads.mysql.com/archives/c-c/

Dll下载地址...
----------------------------------------------
delphi界写python最强, python界写delphi最强. 写自己的代码, 让别人去运行.
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2019/11/2 17:13:54
6楼: win2019哪里可以下载
----------------------------------------------
-
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/4 11:58:49
7楼: @tuesdays 你提供的版本是可以,只是太老。
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/4 11:59:39
8楼: @dalas
https://msdn.itellyou.cn

ed2k://|file|cn_windows_server_2019_updated_march_2019_x64_dvd_c1ffb46c.iso|5347280896|49FCF8C558517608537E0396854560D6|/
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 keymark (嬲) ▲▲▲△△ -
普通会员
2019/11/4 13:38:58
9楼: mysql-connector-c++-8.0.18-winx64.zip
mysql-connector-c-6.1.11-winx64.zip


For C-language and SQL:

for MySQL 8.0, 5.7, 5.6, 5.5
we recommend MySQL Connector/C 8.0

Download Connector/C 8.0 (libmysqlclient)

Linux: The Client Utilities Package is available from the MySQL Community Server download page.
Repos: The Client Utilities Package is available from the Yum, APT, SuSE repositories.
Windows: The Client Utilities Package is available from the Windows Installer.


https://dev.mysql.com/downloads/connector/c/
似乎。。。。。。没得选
mysql-installer-community-8.0.18.0.msi
400MB?????
----------------------------------------------
[alias]  co = clone --recurse-submodules  up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/>http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2019/11/4 15:42:37
10楼: mysql-connector-c++-8.0.18-winx64.zip

http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/Connector-C++/

但是并未包含 libmysql.dll
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 dalas (dalas) ★☆☆☆☆ -
普通会员
2019/11/4 18:09:04
11楼: @earthsbest
感谢!!
----------------------------------------------
-
作者:
男 keymark (嬲) ▲▲▲△△ -
普通会员
2019/11/4 22:16:43
12楼: 从字面意思 400mb 得 mysql-installer-community-8.0.18.0.msi
 也许带libmysql.dll
不用折腾了 只看到6得。。。
----------------------------------------------
[alias]  co = clone --recurse-submodules  up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/>http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/
作者:
男 keymark (嬲) ▲▲▲△△ -
普通会员
2019/11/11 22:40:15
13楼: https://code.launchpad.net/libmysql   看了下2012 停更。。。实际日志2011

https://launchpad.net/myodbc/trunk
----------------------------------------------
[alias]  co = clone --recurse-submodules  up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/>http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2020/7/16 19:17:55
14楼: 已解决。

下载 Connector C++ 8.0 将里面的DLL放到程序目录下即可。
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
作者:
男 earthsbest (全能中间件) ▲▲▲▲△ -
普通会员
2020/7/28 9:36:28
15楼: D10.4 除了libmysql.dll ,无需其他额外的dll,已经正常了。
----------------------------------------------
Delphi4Linux Delphi三层/FireDAC 技术群:734515869 http://www.cnblogs.com/rtcmw
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行269.5313毫秒 RSS