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