D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
softaculous
/
greg
/
Filename :
dbinit.php
back
Copy
<?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'); // // The name of your database // define ('DBNAME','[[softdb]]'); // // 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','[[softdbuser]]'); // // The password to use when connecting to the database // define ('DBPASS', '[[softdbpass]]'); // // 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', '[[softdbhost]]'); // // 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', '[[dbprefix]]'); ?>