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

The Forgotten Server Error MYSQL

carre

Advanced OT User
Joined
Apr 23, 2013
Messages
885
Solutions
1
Reaction score
161
Location
Sweden
when i start 7.6 distro put i have corret port and mysql look
[13/06/2014 00:57:00] >> Loading config
[13/06/2014 00:57:00] > Using plaintext passwords
[13/06/2014 00:57:00] >> Starting SQL connection
[13/06/2014 00:57:00] Failed to connect to database. MYSQL ERROR: Access denied for user 'root'@'localhost' (using password: YES)
[13/06/2014 00:57:00] > ERROR: Couldn't estabilish connection to SQL database!
my lua config







-- The Forgotten Server Config

-- Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = false
newPlayerSpawnPosX = 1
newPlayerSpawnPosY = 1
newPlayerSpawnPosZ = 7
newPlayerTownId = 11
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = false

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
killsToBan = 5
maxViolationCommentSize = 200

-- Battle
worldType = "pvp"
protectionLevel = 20
pvpTileIgnoreLevelAndVocationProtection = true
killsToRedSkull = 3
pzLocked = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = true
removeWeaponCharges = false
removeRuneCharges = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = false
experienceByKillingPlayers = false
showHealingDamage = false
showHealingDamageForMonsters = false

-- Connection config
ip = "192.168.1.34"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to The Old Times!"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = 0
serverName = "The Old Times"
loginMessage = "Welcome to The Old Times!"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true

-- Database
-- NOTE: sqlFile is used only by sqlite database
sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "root"
sqlPass = "42405013"
sqlDatabase = "tfs"
sqlFile = "forgottenserver.s3db"
passwordType = "plain"

-- Deathlist
deathListEnabled = true
maxDeathRecords = 5

-- Guilds
inGameGuildManagement = true
levelToFormGuild = 8
guildNameMinLength = 4
guildNameMaxLength = 20

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
buyableAndSellableHouses = true
housesPerAccount = 0
levelToBuyHouse = 1
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSQM = 1000
houseRentPeriod = "never"
houseNeedPremiumAccount = true
bedsRequirePremium = true

-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "world"
cleanProtectedZones = true

-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
dataDirectory = "data/"
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = true
maxMessageBuffer = 4
displayGamemastersWithOnlineCommand = false
defaultPriority = "high"
saveGlobalStorage = true
bankSystem = true
displaySkillLevelOnAdvance = false

-- Premium account
freePremium = true
premiumForPromotion = true
removePremiumOnInit = true

-- Rates
experienceStages = true
rateExp = 5
rateSkill = 75
rateLoot = 6
rateMagic = 25
rateSpawn = 1

-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. This save method
-- may be unstable, we recommend using OTAdmin if you want real saves.
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Summons
maxPlayerSummons = 2

-- Status
ownerName = ""
ownerEmail = "@otland.net"
url = "http://otland.net/"
location = "Europe"



any help?
 
Back
Top