phpDocumentor MySQL
UnitTests
[ class tree: MySQL ] [ index: MySQL ] [ all elements ]

Procedural File: mysql_config.php

Source Location: /unitTests/configs/mysql_config.php

Page Details

MySQL configuration options

Before running unit tests on the Mysql package edit these configuration settings for your mysql db server. There is no need to edit the invalid MySQL creditials as long as they are actually invalid.

Link:  http://albertfama.com/pkgs/distro/mysql/mysql.zip
Since:  File available since release .01 Alpha
Version:  1.0 (Stable)
License:  GNU GPL
Copyright:  2009 Albert Fama
Author:  Albert Fama <afama@albertfama.com>
Includes
require_once ('../mysql.php') [line 43]

Load the Mysql package

[ Top ]

require_once ('../result.php') [line 46]
[ Top ]

require_once ('../exception.php') [line 44]
[ Top ]

require_once ('../statement.php') [line 45]
[ Top ]


Constants
DB_NAME  [line 31]

DB_NAME = 'obnexus_mysql_test'

This will be the name of the database which is created to run tests against.

This database will be dropped and recreated for each test run. ***DO NOT USE AN EXISTING DATABASE****.


[ Top ]

HOST  [line 24]

HOST = 'localhost'

[ Top ]

I_DB_NAME  [line 38]

I_DB_NAME = 'garbage'

Invalid MySQL database name

Provide an invalid database name to test db selection method


[ Top ]

PASSWORD  [line 23]

PASSWORD = 'password'

[ Top ]

USERNAME  [line 22]

USERNAME = 'username'

MySQL user - used to log into MySQL (must have create and drop db privlages).


[ Top ]



Documentation generated on Mon, 15 Jun 2009 16:50:05 -0600 by phpDocumentor 1.3.0RC3