Skocz do zawartości
  • 0

baza danych MYSQL - luckperms


PolsatGraniePL

Pytanie

mam problem z bazą danych w pluginie luckperms

mam baze danych stworzoną na VPS, i na tym serwerze 1 serwer. I działa

storage-method: MySQL

# The following block defines the settings for remote database storage methods.
#
# - You don't need to touch any of the settings here if you're using a local storage method!
# - The connection detail options are shared between all remote storage types.
data:

  # Define the address and port for the database.
  # - The standard DB engine port is used by default
  #   (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
  # - Specify as "host:port" if differs
  address: localhost

  # The name of the database to store LuckPerms data in.
  # - This must be created already. Don't worry about this setting if you're using MongoDB.
  database: mc

  # Credentials for the database.
  username: mc
  password: 'XXXX'



ale jak już chciałem podłączyć drugi serwer pod mysql który znajduje się na innym VPS z tą konfiguracją:
 

storage-method: MySQL

# The following block defines the settings for remote database storage methods.
#
# - You don't need to touch any of the settings here if you're using a local storage method!
# - The connection detail options are shared between all remote storage types.
data:

  # Define the address and port for the database.
  # - The standard DB engine port is used by default
  #   (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
  # - Specify as "host:port" if differs
  address: 79.137.50.237:3306

  # The name of the database to store LuckPerms data in.
  # - This must be created already. Don't worry about this setting if you're using MongoDB.
  database: mc

  # Credentials for the database.
  username: mc
  password: 'XXXX'



to nie da się wejść
unknown.png

Przy ładowaniu:


Przy wejściu:


Próbowałem już wszystkiego... Proszę o pomoc.

// @Tymekd nigdy nic nie kuma....

Edytowane przez polsatgraniepl
Odnośnik do komentarza
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Na ten moment podejrzewam 2 rzeczy. Albo źle skonfigurowany firewall albo bindujesz bazę danych na adres lokalny. To drugie pewnie bardziej prawdopodobne, bo zazwyczaj domyślna konfiguracja pozwala połączyć się tylko lokalnie. Upewnij się, że nie blokujesz połączeń na ten port i czy bindowanie masz poprawnie ustawione.

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...