Database: ezcDbHandlerMysql
[ ]
[ Oracle_setup ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbHandlerMysql
|
MySQL driver implementation [
source]
Parents
PDO
|
--ezcDbHandler
|
--ezcDbHandlerMysql
Member Variables
|
protected string |
$identifierQuoteChars
= array( "start" => '`', "end" => '`', )
Characters to quote identifiers with. Should be overwritten in handler implementation, if different for a specific handler. In some cases the quoting start and end characters differ (e.g. ODBC), but mostly they are the same. |
Inherited Member Variables
From
ezcDbHandler:
Method Summary
|
public ezcDbHandlerMysql |
__construct(
$dbParams )
Constructs a handler object from the parameters $dbParams. |
|
public ezcUtilitiesMysql |
createUtilities(
)
Returns a new ezcUtilities derived object for this database instance. |
|
public static string |
getName(
)
Returns 'mysql'. |
Inherited Methods
From
ezcDbHandler :
Methods
__construct
ezcDbHandlerMysql __construct(
array
$dbParams )
Constructs a handler object from the parameters $dbParams.
Supported database parameters are:
- dbname|database: Database name
- user|username: Database user name
- pass|password: Database user password
- host|hostspec: Name of the host database is running on
- port: TCP port
- charset: Client character set
- socket: UNIX socket path
Parameters
| Name |
Type |
Description |
$dbParams |
array |
Database connection parameters (key=>value pairs). |
Throws
| Class | Description |
ezcDbMissingParameterException |
if the database name was not specified. |
Redefinition of
createUtilities
ezcUtilitiesMysql createUtilities(
)
Returns a new ezcUtilities derived object for this database instance.
Redefinition of
getName
string getName(
)
Returns 'mysql'.
Last updated: Mon, 12 Nov 2007