gpt4 book ai didi

mysql - 安装 DBD::mysql 时缺少 mysql_config 错误

转载 作者:行者123 更新时间:2023-11-29 02:04:59 26 4
gpt4 key购买 nike

我看到了Trying to install Perl-Mysql DBD, mysql_config can't be found ,并试图找到 mysql_config,但没有找到。所以,我尝试安装 mysql-devel,然后我得到这个错误-

[nbezzala@stats /]$ sudo yum install mysql-devel  
[sudo] password for nbezzala:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cmich.edu
* extras: holmes.umflint.edu
* updates: mirror.symnds.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-devel
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-devel
---> Package mysql-devel.x86_64 0:5.0.77-4.el5_6.6 set to be updated
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_6.6.i386 from base has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[nbezzala@stats /]$

最佳答案

我有同样的问题,必须在我的 Debian Linux 上安装 libmysqlclient-devmysql_config 文件在那个包中。

关于mysql - 安装 DBD::mysql 时缺少 mysql_config 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8195379/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com