# MySQL Extension

The MySQL ActionScript class follows the same API as MySQL, even down to the same arguments to the same function names. This enables a Flash movie to have direct access to a MySQL database. Traditionally Flash movies have had no database support, they either had to use arrays, or use XML to communicate to an application specific external database daemon.

connect

  Connect to a MySQL database.

qetData

  Get data from the database.

disconnect

  Disconnect from a MySQL database.

query

  Execute an SQL query to the database.

fetch_row

  Fetch a row from the query results.

num_fields

free_result

  Free the results of a query.

store_results

  Store the results of a query.