Ir para conteúdo

Featured Replies

Postado

STEP 2
Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.

Error occured!
Error ID: 
More info: CANNOT CONNECT TO DATABASE: SQLSTATE[HY000] [1130] Host 'bh-c58295013b3c' is not allowed to connect to this MySQL server

File: C:\xampp\htdocs\classes/database_mysql.php   Line: 22
File: C:\xampp\htdocs/install.php   Line: 271

 

 

Estou Com Esse Erro Ao Tentar Instalar....

Se Ajudar +REP

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

  • Respostas 12
  • Visualizações 818
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Isso é windows ou linux?

  • Está tentando acessar remotamente? Digo, seu banco de dados está em um servidor e o ot em outro? Se estiver tudo na mesma máquina, tente mudar:   sqlHost = "baiak-keltera.servegame.com" Para

  • Sim. anderson.altstaff Resolução: GRANT ALL PRIVILEGES ON *.* TO 'root'@'IP-DA-VPS'     IDENTIFIED BY 'SENHA-DO-TEU-PHPMYADMIN'       WITH GRANT OPTION; FLUSH PRIVILEGES;  

Postado

Isso é windows ou linux?

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Postado
  • Autor
9 horas atrás, Rusherzin disse:

Isso é windows ou linux?

Windowns...

 

1 hora atrás, Adventure disse:

Veja seu config se seu diretório do seu ot esta correto.
Parece que você esta tentando se conectar em SQL em vez de Mysql

Enviado de meu LG-K350 usando Tapatalk
 

 

Meu Config.lua

Spoiler

    accountManager = "no"
    namelockManager = "yes"
    newPlayerChooseVoc = "yes"
    newPlayerSpawnPosX = 143
    newPlayerSpawnPosY = 61
    newPlayerSpawnPosZ = 8
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 1
    generateAccountNumber = "no"

    redSkullLength = 24 * 60 * 60
    blackSkullLength = 48 * 60 * 60
    dailyFragsToRedSkull = 7
    weeklyFragsToRedSkull = 30
    monthlyFragsToRedSkull = 70
    dailyFragsToBlackSkull = dailyFragsToRedSkull
    weeklyFragsToBlackSkull = weeklyFragsToRedSkull
    monthlyFragsToBlackSkull = monthlyFragsToRedSkull
    dailyFragsToBanishment = dailyFragsToRedSkull
    weeklyFragsToBanishment = weeklyFragsToRedSkull
    monthlyFragsToBanishment = monthlyFragsToRedSkull
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    useBlackSkull = true
    useFragHandler = true
    advancedFragList = false

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

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

    worldId = 0
    ip = "baiak-keltera.servegame.com"
    bindOnlyConfiguredIpAddress = false
    loginPort = 7171
    gamePort = 7172
    adminPort = 7171
    statusPort = 7171
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 109
    motd = "Bem Vindo ao Baiak Keltera"
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = true
    allowClones = false
    serverName = "Baiak Keltera"
    loginMessage = "Bem Vindo ao Baiak Keltera!"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false

    sqlType = "mysql"
    sqlHost = "baiak-keltera.servegame.com"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "minhasenha"
    sqlDatabase = "database"
    sqlFile = "Baiak.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "sha1"

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

    ingameGuildManagement = true
    levelToFormGuild = 150
    premiumDaysToFormGuild = 0
    guildNameMinLength = 4
    guildNameMaxLength = 20

    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 2

    buyableAndSellableHouses = true
    houseNeedPremium = true
    bedsRequirePremium = true
    levelToBuyHouse = 150
    housesPerAccount = 0
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseRentPeriod = "never"
    houseCleanOld = 0
    guildHalls = false

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

    mapName = "Baiak Barao.otbm"
    mapAuthor = "Absolute"
    randomizeTiles = true
    useHouseDataStorage = false
    storeTrash = true
    cleanProtectedZones = true
    mailboxDisabledTowns = "-1"

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

    maxMessageBuffer = 4
    bufferMutedOnSpellFailure = false

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

    ghostModeInvisibleEffect = false
    ghostModeSpellEffects = true

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

    freePremium = true
    premiumForPromotion = true

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

    experienceStages = "yes"
    rateExperience = 900
    rateExperienceFromPlayers = 0
    rateSkill = 200
    rateMagic = 80
    rateLoot = 10
    rateSpawn = 2

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

    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 1.1

    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 41 * 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 = 1
    shutdownAtGlobalSave = false
    cleanMapAtGlobalSave = false

    deSpawnRange = 2
    deSpawnRadius = 50

    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    ownerName = "Absolute on Tibiaking"
    ownerEmail = "[email protected]"
    url = "www.tibiaking.com"
    location = "Brazil"
    displayGamemastersWithOnlineCommand = false

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

 

Diretorio

Spoiler

C:\Documents and Settings\admin\Desktop\Baiak Absolute

 

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

Postado

Está tentando acessar remotamente? Digo, seu banco de dados está em um servidor e o ot em outro? Se estiver tudo na mesma máquina, tente mudar:
 

 sqlHost = "baiak-keltera.servegame.com"

Para:
 

 sqlHost = "localhost"

 

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

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

Informação Importante

Confirmação de Termo