• 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!

Linux Problem MYSQL UBUNTU, RUN SERVER

eletross

New Member
Joined
Sep 15, 2008
Messages
39
Reaction score
0
>> Loading config (config.lua)
> Using plaintext passwords
>> Checking software version... outdated, please consider updating!
> Current version information - version: 0.3.5, patch: 0, build: 2564, timestamp: 1249584126.
> Latest version information - version: 0.3.5, patch: 1, build: 2576, timestamp: 1249584126.
>> Fetching blacklist
>> Loading RSA key
>> Starting SQL connection

> ERROR: Couldn't estabilish connection to SQL database!

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql" --correct
sqlHost = "localhost" --correct
sqlPort = 3306 --correct
sqlUser = "root" --correct
sqlPass = "secret" --correct
sqlDatabase = "warzone" --correct
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "plain"

PHPMYADMIN ITS WORKS! I ACESS MYSQL BY PHPMYADMIN PERFECT!
windows that "otserv" worked perfectly, but now wants moved to ubuntu is giving this error, use version 0.3.5 and phpmyadmin works fine, until ja cared tables database "warzone" otserv.

5u0pqg.jpg


1rt6v6.jpg


I not using lamp!

# apt-get install apache2
# apt-get install mysql-server-5.0
# apt-get install php5
# apt-get install php5-mysql
# apt-get install phpmyadmin
# cp -r /usr/share/phpmyadmin/ /var/www/phpmyadmin

Ip of the server for you to look: warzone.servegame.org

thank you

Edited:
i upgrade for apt-get install mysql-server-5.1 but the problem still continues.

REEdited:

The website works fine and accesses the database, but ot not and are the same settings.

# MySQL server settings WEBSITE
$cfg['SQL_Server'] = 'localhost';
$cfg['SQL_User'] = 'root';
$cfg['SQL_Password'] = 'secret';
$cfg['SQL_Database'] = 'warzone';

Problem continues! :(
 
And as phpmyadmin apache and connect to the database?
How to unlock this door in ubuntu, this is a dedicated server, with only access to the terminal?

EDITED!
e5rzh3.jpg


Problem continues!

EDITED:

I found the problem in time to compile sqlite and mysql was active disabled. Thanks for the help.
 
Last edited:
Back
Top