3

What are the differences between the packages here?

mysql, mysql-server and mysql-devel

I am installing a SQL server to use with PHP, but I found these three packages and am not sure which to use.

1 Answer 1

6

You'll probably want all three packages.

yum info mysql mysql-server mysql-devel will provide maintainer-written descriptions of the packages in detail.

But in short, mysql is the MySQL client and necessary libraries. mysql-server is the actual database server, with corresponding daemon and init scripts. mysql-devel includes development packages that my be needed by other applications.

2
  • 2
    Just want to add a comment for the OP that yum info <package name> will tell you all of this. It's a good one to know so you can get more information about any other package in the future. Aug 12, 2012 at 0:06
  • mysql-devel should only be needed for building applications which use mysql. It should not be needed for applications which merely use mysql.
    – phemmer
    Aug 12, 2012 at 3:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .