Connect using ADO.NET native drivers. Distributed with native ADO.NET drivers for MySQL, PostgreSQL, Sqlite. Native drivers for MS SQL are distributed with .NET.
Function Driver manager, which allows using other ADO.NET drivers
Connection over generic database interfaces OLE DB and ODBC
Function PHP tunnel, which allows connection to MySQL databaases on webhosts server, which dosn't offer direct access to database server