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 /]$  
2
  • You can install DBD-mysql with yum, but it would be an older version. "yum install perl-DBD-mysql". Which distribution do you use? Commented Nov 19, 2011 at 20:27
  • Did you install mysql from package that is not for you Linux distribution? Commented Nov 19, 2011 at 20:31

2 Answers 2

3

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

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.