Jump to content
  • 0
Sign in to follow this  
jeduschu

Infraestrutura Failed connecting to database - mysql error

Question

jeduschu    12
jeduschu

Não consigo abrir meu servidor em mysql, depois das alterações começou a aparecer essa mensagem:

image.png.c0edc280a7fa0cc9603aa2451f018aca.png

Parte do meu config.lua, onde editei:

Citar

    sqlType = "mysql"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "senha"
    sqlDatabase = "forgotten"
    sqlFile = "theforgottenserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "sha1"
 

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Erondino    17
Erondino

Alterar a linha :

   sqlHost = "localhost"

Para: 

    sqlHost = "127.0.0.1"

 

Share this post


Link to post
Share on other sites
  • 0
jeduschu    12
jeduschu

@Erondino Sim, agora funcionou!

Obrigado!!!

Share this post


Link to post
Share on other sites
  • 0
Majesty    1,759
Majesty

A questão neste tópico de suporte foi respondida e o autor do tópico resolveu a questão. Este tópico está fechado agora. Se você tiver outras perguntas, crie um novo tópico.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×