Ir para conteúdo

SQL Error (2003): Can't connect to MySQL server on 'localhost' (10061)

Featured Replies

  • Respostas 11
  • Visualizações 2.8k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • sqlPass = ""  senha do site 

  • Vai na pasta do teu site.. E abri o arquivo config.php, verifica se o IP está correto. Ou melhor.. Ver se no config.lua do server a data base está correta, o nome da dB tem que ser a que tu criou

Posted Images

Postado
  • Autor
9 minutos atrás, kamus9629 disse:

sqlPass = ""

 senha do site 

tava uma senha eu retirei mas posso colcar novamente, mesmo assim o erro persiste

Postado
19 minutos atrás, bkmadara disse:
  Ocultar conteúdo



accountManager = true
namelockManager = false
newPlayerChooseVoc = true
newPlayerSpawnPosX = 660
newPlayerSpawnPosY = 409
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = false

redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 3 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 30
monthlyFragsToRedSkull = 60
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 100
blackSkulledDeathMana = 100
useBlackSkull = false
useFragHandler = true
advancedFragList = false

notationsToBan = 3
warningsToFinalBan = 1
warningsToDeletion = 5
banLength = 3 * 24 * 60 * 60
killsBanLength = 3 * 24 * 60 * 60
finalBanLength = 7 * 24 * 60 * 60
ipBanishmentLength = 7 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false

worldType = "open"
protectionLevel = 150
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 30 * 1000
huntingDuration = 30 * 1000
criticalHitChance = 1
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = true
removeWeaponCharges = true
removeRuneCharges = true
whiteSkullTime = 10 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = true
showHealingDamageForMonsters = true
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 0 * 0
stairhopDelay = 0 * 1000
pushCreatureDelay = 1 * 500
deathLostPercent = 15
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true

worldId = 0
ip = "25.1.198.209"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 200
motd = "Bem-vindo ao Dbz Online War, divirta-se!"
displayOnOrOffAtCharlist = true
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "DBZWAR"
loginMessage = "Bem-vindo ao Dbz Online War, divirta-se!"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = true

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "dbodb"
sqlFile = "dbodb"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"

deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5

ingameGuildManagement = true
levelToFormGuild = 100
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 30

highscoreDisplayPlayers = 10
updateHighscoresAfterMinutes = 2

buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = false
levelToBuyHouse = 1
housesPerAccount = 2
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 10000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = true

timeBetweenActions = 200
timeBetweenExActions = 500
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 1000

mapName = "DBZO.otbm"
mapAuthor = "[DONO] Wise"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

maxMessageBuffer = 20
bufferMutedOnSpellFailure = false

dataDirectory = "data/"
allowChangeOutfit = false
allowChangeColors = false
allowChangeAddons = false
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = true
spellNameInsteadOfWords = true
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

ghostModeInvisibleEffect = true
ghostModeSpellEffects = true

idleWarningTime = 59 * 60 * 1000
idleKickTime = 60 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

freePremium = true
premiumForPromotion = true

blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 10

experienceStages = true
rateExperience = 1
rateExperienceFromPlayers = 0
rateSkill = 5
rateMagic = 3
rateLoot = 2
rateSpawn = 3

rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1
rateStaminaGain = 1
rateStaminaThresholdGain = 10
staminaRatingLimitTop = 40 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true

experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000

globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = true

deSpawnRange = 2
deSpawnRadius = 50

maxPlayerSummons = 4
teleportAllSummons = true
teleportPlayerSummons = true

ownerName = "Admin"
ownerEmail = ""
url = ""
location = "Brazil"
displayGamemastersWithOnlineCommand = false

adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false

 

mano n achei essa parada , ta ai o config.lua do server

 

 

 

 

Muda isso para 127.0.0.1

ip = "25.1.198.209"

Editado por hacker wl1999 (veja o histórico de edições)

Postado
1 minuto atrás, bkmadara disse:

Mudei porem o erro persiste pois é erro de database nao do ip

Vai na pasta do teu site.. E abri o arquivo config.php, verifica se o IP está correto. Ou melhor..

Ver se no config.lua do server a data base está correta, o nome da dB tem que ser a que tu criou no phpmyadmin

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo