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.

hexacyanide
  • 211
  • 3
  • 10

1 Answers1

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.

ewwhite
  • 197,159
  • 92
  • 443
  • 809
  • 2
    Just want to add a comment for the OP that `yum info ` 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. – Aaron Copley Aug 12 '12 at 00: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 '12 at 03:40