My Oracle Support Banner

How can I Connect to MySQL with PHP? (Doc ID 1023251.1)

Last updated on APRIL 29, 2021

Applies to:

MySQL Connectors - Version 1.0 and later
All Platforms


To provide examples for how to connect to a MySQL database from each of the PHP API's.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.