-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdbinit.php.sample
52 lines (45 loc) · 1.45 KB
/
dbinit.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
//
// The type of database server you are using. By default
// Gregarius will look for a MySQL database server. If you
// would like to use an SQLite database, change accordingly
//
define ('DBTYPE','mysql');
//define ('DBTYPE',"sqlite");
//
// The name of your database
//
define ('DBNAME','database_name');
//
// The username to use when connecting to the database. Make sure that
// thus user owns privileges to CREATE database tables on the above
// database!
//
define ('DBUNAME','database_username');
//
// The password to use when connecting to the database
//
define ('DBPASS', 'database_password');
//
// If you are using a MySQL database:
// The hostname of your database server. Unless you know
// different this should probably be 'localhost' or '127.0.0.1'
//
// If you are using a SQLite database:
// This constant must contain the full path to your database file,
// for example: '/tmp/gregarius.db'
// Note that the apache process must have write access privileges
// on the given directory!
//
define ('DBSERVER', 'localhost');
//
// The table name prefix to use. If you specify anything here,
// say 'gregarius', your database table 'channels' will be referred to
// as 'gregarius_channels'. This is useful to avoid table collisions when
// your hosting provider only grants you one single database and several
// applications rely on that db.
//
// If this is not the case you can safely ignore this option.
//
//define ('DB_TABLE_PREFIX','');
?>