TendoTensei 2 Postado Novembro 26, 2011 Share Postado Novembro 26, 2011 seguinte eu tenho um site tudo certin pro meu server so que as vezes (não sei o tempo) vou entra no site aparece a pagina em branco escrito isso Can't connect to MySQL database. para mim resolver isso so reiniciando o pc pq fecho o server e reinicio o xammp da que não tem e da esse erro aqui pensei em atualizar o xammp mas como faço isso se ter que resetar o server Link para o comentário https://xtibia.com/forum/topic/173530-xammp/ Compartilhar em outros sites More sharing options...
vinny160600 52 Postado Novembro 26, 2011 Share Postado Novembro 26, 2011 bom esse erro é causado por que não está conectado o detabase, abra o cinfig.lua e ve se a sua senha está certa o banco de dados,etc.. Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139768 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 26, 2011 Autor Share Postado Novembro 26, 2011 Está certo a senha do config.lua com a do php adim Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139778 Compartilhar em outros sites More sharing options...
k2lan 45 Postado Novembro 26, 2011 Share Postado Novembro 26, 2011 post seu config.lua aqui para analizarmos "caso senha,localhost e nome do database esteja correto" Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139779 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 26, 2011 Autor Share Postado Novembro 26, 2011 accountManager = "no" namelockManager = "no" newPlayerChooseVoc = "yes" newPlayerSpawnPosX = 160 newPlayerSpawnPosY = 54 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 0 generateAccountNumber = "no" redSkullLength = 50 * 62 * 70 * 90 blackSkullLength = 64 * 72 * 80 * 95 dailyFragsToRedSkull = 55 weeklyFragsToRedSkull = 80 monthlyFragsToRedSkull = 90 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 = 7 * 24 * 60 * 60 killsBanLength = 8 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "pvp" protectionLevel = 50 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 20 * 700 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = true removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = "no" whiteSkullTime = 3 * 10 * 100 noDamageToSameLookfeet = false showHealingDamage = false 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 = "kadymus.servegame.com" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 800 motd = "Seja Bem-Vindo Ao Kadymus Server, Tenha um Bom Jogo" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Kadymus" loginMessage = "Bem Vindo ao Kadymus Server" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "xxxxx" sqlDatabase = "kadymus" sqlFile = "kadymus.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 100 updateHighscoresAfterMinutes = 2 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 1 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 Yurots" mapAuthor = "Lokura" 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 = 1000 * 1000 * 10000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = true premiumForPromotion = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = "yes" rateExperience = 300 rateExperienceFromPlayers = 0 rateSkill = 45 rateMagic = 30 rateLoot = 7 rateSpawn = 5 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 = 8 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 0 teleportAllSummons = false teleportPlayerSummons = false ownerName = "ADM Lokura" ownerEmail = "matheusalves96@hotmail.com" url = "http://xtibia.com/" location = "Brazil" displayGamemastersWithOnlineCommand = false adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139798 Compartilhar em outros sites More sharing options...
k2lan 45 Postado Novembro 26, 2011 Share Postado Novembro 26, 2011 (editado) vc ja tentou usar o que o dono do map topico disponibilizou no mesmo topico? tente importar a db denovo caso nao consegui, basta ler como o amigo resolveu http://www.xtibia.com/forum/topic/170556-ajuda-com-errocant-connect-to-mysql-database/ Editado Novembro 26, 2011 por k2lan Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139820 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 26, 2011 Autor Share Postado Novembro 26, 2011 (editado) não tentei usar a database que veio existe uma maneira de como trocar sem dar reset no server?? se bem que acho q não, ou então fazer com que o programa reconheça essa DB como padrão sei lá uma solução sem resets Editado Novembro 26, 2011 por TendoTensei Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139829 Compartilhar em outros sites More sharing options...
k2lan 45 Postado Novembro 27, 2011 Share Postado Novembro 27, 2011 me adicione no msn para ver se conseguimos resolver isso, se resolver colocaremos a solução aqui Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139846 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 27, 2011 Autor Share Postado Novembro 27, 2011 adicionado Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139853 Compartilhar em outros sites More sharing options...
pessoa93 217 Postado Novembro 27, 2011 Share Postado Novembro 27, 2011 Tenta trocar: sqlHost = "localhost" Por: sqlHost = "127.0.0.1" Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139883 Compartilhar em outros sites More sharing options...
Piabeta Kun 359 Postado Novembro 27, 2011 Share Postado Novembro 27, 2011 bem s evc usar mysql, basta vc exportar a db e importar com os codes sql!, dependendo de qntas contas e etc tiver no server, demorará um bocado! boa sorte! Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1139954 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 27, 2011 Autor Share Postado Novembro 27, 2011 Tem como explica certo não não sei muito dessa area de sqlite,mysql não manjo nada Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1140006 Compartilhar em outros sites More sharing options...
k2lan 45 Postado Novembro 28, 2011 Share Postado Novembro 28, 2011 só por curiosidade mude sqlPass = "xxxxx" para sqlPass = "" Sem a senha Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1140667 Compartilhar em outros sites More sharing options...
TendoTensei 2 Postado Novembro 28, 2011 Autor Share Postado Novembro 28, 2011 (editado) Nada problema continua Editado Novembro 28, 2011 por TendoTensei Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1140887 Compartilhar em outros sites More sharing options...
Piabeta Kun 359 Postado Novembro 28, 2011 Share Postado Novembro 28, 2011 onde esta "xxxxx" deverá conter a senha do root, ou seja, a senha q vc entra no phpmyadmin ¬¬, e o lance de importar a db nao to com tempo de explicar nao! peskise busque, evolua pokemon! Link para o comentário https://xtibia.com/forum/topic/173530-xammp/#findComment-1140914 Compartilhar em outros sites More sharing options...
Posts Recomendados