2

I saw Trying to install Perl-Mysql DBD, mysql_config can't be found, and tried to locate mysql_config, but didn't find it. So, I tried to install mysql-devel, and then I get this error-

[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 /]$  
Community
  • 1
  • 1
bezz
  • 83
  • 1
  • 12

2 Answers2

3

I had the same problem and had to install libmysqlclient-dev on my Debian linux. That mysql_config file was in that package.

Kjuly
  • 34,476
  • 22
  • 104
  • 118
bogdan
  • 31
  • 2
0

mysql v 5.5.17 was installed on the machine, and I was trying to install 5.0.77 components via yum. Thanks Alexandr.

bezz
  • 83
  • 1
  • 12