• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Uniserver Config.php

Powtreeman

Member
Joined
Sep 26, 2011
Messages
400
Reaction score
6
Location
USA
I am trying to set up my website but have no idea how to config anything in the config. Can someone post a pic of an example or copy and paste this part?

// ------------------------ \\
// MYSQL CONNECTION DETAILS \\
// ------------------------ \\
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
$config['?????'] = '?????';
// phpmyadmin password for OT server:
$config['?????'] ='?????';
// The database name to connect to. (This is usually same as username).
$config['?????'] = '?????';
// Hostname is usually localhost or 127.0.0.1.
$config['?????'] = '??????';
 
use user/password from mysql-service

will probably find it here
look in folder otserv/config.lua

-- Database
sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "root"
sqlPass = "pass"
sqlDatabase = "database"
 
@ up that is lua

// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
$config['sqlUser'] = '?????';
// phpmyadmin password for OT server:
$config['sqlPassword'] ='?????';
// The database name to connect to. (This is usually same as username).
$config['sqlDatabase'] = '?????';
// Hostname is usually localhost or 127.0.0.1.
$config['sqlHost'] = '??????';
 
Back
Top