iPhone can only use SQLite as a database directly on the device. This means that iPhone does not have a MySQL server. But you can and can have a (your own) MySQL server server to which iPhone applications connect. But Apple does not provide a server, so you will have to pay for maintenance costs.
source
share