The previous Mac OS x Snow Leopard server version provides two methods to access MySQL from the graphical user interface and command line. However, in the latest Mac OS X Lion server version, this open-source MySQL database has completely disappeared. It is replaced by PostgreSQL, but only provides access from the command line.
Vodisedb, which provides commercial support for PostgreSQL, said they had no idea about this until Lion was commercially available in the Apple Store. The company said that Mac OS X Lion included PostgreSQL and they were not involved.
Dohery, product director of EnterpriseDB, and Karen Tegan Padir, marketing director, speculate that the reason why Apple deleted MySQL from the operating system is that MySQL is now an oracle product. Padir said: "apple never liked GPL-licensed software. It seems that they are concerned about intellectual property rights, especially after Oracle sued Google and Android for Java ."
Padir pointed out that PostgreSQL is a project under the BSD system license, which is more loose than GPL. She believes that "PostgreSQL is a better database with a better security mode, more practical options, and better Developer support. You can write stored procedures in multiple languages ".
In any case, Apple has removed MySQL from the Mac OS X Lion server version. If you want to use MySQL in Apple's latest system, you need to install it on your own.