Sponsorenverwaltung - Team StarCraft e.V.
 All Data Structures Files Functions Variables
mysql.php
Go to the documentation of this file.
1 <?php
2  /**
3  * @file mysql.php
4  *
5  * @brief Provides the information for the MySQL-database-connection
6  *
7  * @details
8  * This file provides all of the credentials needed for establishing a
9  * successful connection with the database. They are stored in constants
10  * that are global accessible.
11  *
12  * This file has no dependencies.
13  *
14  * @copyright (c) 2013, Team StarCraft e.V.
15  * @version 1.0.0
16  * @author Daniel Seichter
17  * @author Alexander Vorndran
18  * @date 02.07.2013
19  */
20 
21  //! holds the mysql host
22  define('MYSQL_HOST', 'localhost');
23 
24  //! holds the mysql username
25  define('MYSQL_USER', 'root');
26 
27  //! holds the mysql password
28  define('MYSQL_PWD', '');
29 
30  //! holds the mysql database name
31  define('MYSQL_DB', 'sponsoring_db');
32 
33  //! holds the prefix for usercake tables
34  define('MYSQL_PREFIX_USERCAKE', 'uc_');
35 
36  //! holds the prefix for sponsoring tables
37  define('MYSQL_PREFIX', 'tbl_');
38 
39  //! holds the prefix for sponsoring backup tables
40  define('MYSQL_PREFIX_BACKUP', 'bup_');
41 ?>