<commit_before><?php

//
// This holds the configuration options for database access.
// Nelliel is set to use SQLite by default. However you can utilize a number of other relational databases as well.
// You only need to configure one database option for use. The others can be left as-is.
//

// Database type. Supported types: MYSQL, SQLITE, POSTGRES
define('SQLTYPE', 'SQLITE'); // Database type

//
// Configuration for SQLite
//

define('SQLITE_DB_NAME', 'nelliel.sqlite'); // Filename of SQLite database
define('SQLITE_DB_PATH', ''); // Alternative path where the database is to be located. Defaults to board_files if left blank
define('SQLITE_ENCODING', 'UTF-8'); // The character encoding to use. Usually fine as-is

//
// Configuration for MySQL
//

define('MYSQL_DB', 'database'); // Name of database used by imageboard
define('MYSQL_HOST', 'localhost'); // MySQL Server address
define('MYSQL_PORT', '3306'); // Server port. MySQL default is 3306
define('MYSQL_USER', 'username'); // User that will access the database
define('MYSQL_PASS', 'password'); // <PASSWORD> user
define('MYSQL_ENCODING', 'utf8'); // The character encoding to use. Usually fine as-is

//
// Configuration for PostgreSQL
//

define('POSTGRES_DB', 'database'); // Name of database used by imageboard
define('POSTGRES_HOST', 'localhost'); // PostgreSQL Server address
define('POSTGRES_PORT', '5432'); // Server port. PostgreSQL default is 5432
define('POSTGRES_USER', 'username'); // User that will access the database
define('POSTGRES_PASS', 'password'); // Password of user
define('POSTGRES_SCHEMA', 'public'); // Which schema to use; default is 'public'
define('POSTGRES_ENCODING', 'UTF8'); // The character encoding to use. See notes below!
// You must make sure 'POSTGRES_ENCODING' matches or is compatible with what the database uses!
<commit_msg>Change to MYSQL as default database, put SQLite location warning<commit_after><?php

//
// This holds the configuration options for database access.
// Nelliel is set to use MYSQL by default. However you can utilize a number of other relational databases as well.
// You only need to configure one database option for use. The others can be left as-is.
//

// Database type. Supported types: MYSQL, SQLITE, POSTGRES
define('SQLTYPE', 'MYSQL'); // Database type

//
// Configuration for MySQL
//

define('MYSQL_DB', 'database'); // Name of database used by imageboard
define('MYSQL_HOST', 'localhost'); // MySQL Server address
define('MYSQL_PORT', '3306'); // Server port. MySQL default is 3306
define('MYSQL_USER', 'username'); // User that will access the database
define('MYSQL_PASS', 'password'); // Password of user
define('MYSQL_ENCODING', 'utf8'); // The character encoding to use. Usually fine as-is

//
// Configuration for SQLite
//

// WARNING: The database path must be a location outside of web-accessible directories!
// Otherwise someone could just download the whole thing.
// If this is not possible on your host, do not use SQLite for your database!

define('SQLITE_DB_NAME', 'nelliel.sqlite'); // Filename of SQLite database
define('SQLITE_DB_PATH', ''); // Path where the database is to be located
define('SQLITE_ENCODING', 'UTF-8'); // The character encoding to use. Usually fine as-is

//
// Configuration for PostgreSQL
//

define('POSTGRES_DB', 'database'); // Name of database used by imageboard
define('POSTGRES_HOST', 'localhost'); // PostgreSQL Server address
define('POSTGRES_PORT', '5432'); // Server port. PostgreSQL default is 5432
define('POSTGRES_USER', 'username'); // User that will access the database
define('POSTGRES_PASS', 'password'); // Password of user
define('POSTGRES_SCHEMA', 'public'); // Which schema to use; default is 'public'
define('POSTGRES_ENCODING', 'UTF8'); // The character encoding to use. See notes below!
// You must make sure 'POSTGRES_ENCODING' matches or is compatible with what the database uses!

{'fraction_non_alphanumeric': 0.12371663244353183, 'fraction_numerical': 0.009753593429158111, 'mean_word_length': 4.457983193277311, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7299245', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1089, 'n_words': 452}