Advantages of MySQL
- Large community of developers (PHP).
- Excellent documentation. In several formats (HTML, HTML Help ...), online comments.
- Numerous articles and tutorials for info about MySQL, and PHP.
- Replication and backup databases. Managing a single master-slave replication in the case of a backup for example.
- Management of certain integrity constraints: Foreign Key for InnoDB tables, for example.
- Local database: Possibility of taking MySQL software and distribute it without a server.A bit like I think Borland BDE or SQLite (Distributed with PHP5).
- Transactions Management (BEGIN, COMMIT / ROLLBACK).
- phpBB: The forum used by Developpez.com, like hundreds of other web sites using MySQL (I will like to know the size of the database!).
- MySQL is supported by the majority of free hosts, which is not the case of PostgreSQL.
- Great tools to administer your databases: PhpMyAdmin for the web by example.
- Simple to install and configure, deploy and maintain Windows.
- Good support for professionals from the only experience I have had concerning the boarding of a MySQL database software in particular. Team very responsive.
- The youngest is not necessarily an advantage, but more a welcome feature, LAST_INSERT_ID () to retrieve the ID, the value of the primary key AUTO_INCREMENT, the last entry inserted into a table by an INSERT. Should be used with PostgreSQL sequences.
- No longer used by SourceForge because MySQL did not support the load increases, they opted for PostgreSQL. MySQL is perhaps easy to install and deploy, but it does not perhaps the degree of scability PostgreSQL.
- Not support the standard SQL2 (92) to 100%. Actually I have never encountered problems in the writing of my queries, just take a few hours to read the first chapters of the manual and see that MySQL does not away from it all that much, except for the purists .
- Legacy table: PostgreSQL is not a simple RDBMS. This is the main argument that I can progress as the only feature that I miss in MySQL.
- Scability: See the problem with MySQL SourceForge.
- All these advanced features, some developers can not live without: Sub queries, triggers and stored procedures mainly.
- Not available natively for Windows, it uses an emulation layer (Cygwin). Upcoming version 8 will be available natively for Windows.
- Can not manage a local, but I could be wrong. An expert opinion? Then we can say that it was not designed for, but opt for MySQL and you get the best of two worlds, local and online.
- See some benefit from MySQL: Less supported by the community of PHP developers (Still need to know which category you belong), there are more hosts PHP / MySQL but the big names often suggest PostgreSQL (Can be more expensive to deploy than MySQL because most resource hungry ...).