The original PHP mysql library was fairly quick to code due to it's simple functional interface. But there were some rough edges. Also it is now deprecated and most developers are moving to PDO since it is more database independent.
Unfortuantly PDO is overly complicated. This is mostly due to PHP's poor object system and the PDO developers desire to make the system object-oriented.