Closed leestar960 closed 1 year ago
UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com)
Please fix your mysql address.
How do I fix it?
Please fix your mysql address.
url: jdbc:mysql://localhost:3306/cosmetics
??????????????
UnknownHostException
means your host address my_url_database_69.com
doesn't exists.
Terms
Discord tag (optional)
l_fallingstar
What happened?
It's a bungee code server. When I run the server after setting the address code in Config, an error appears in the bucket.
Steps to reproduce the issue
save:
Use only one at a time
file: enabled: true mysql: enabled: true url: jdbc:mysql://my_url_database_69.com:3306/database_name username: root password: root table: cosmeticscore_saved
Server version
This server is running Paper version git-Paper-195 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 3fd1502) You are 1 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: git-Paper-196 (MC: 1.20.1)
CosmeticsCore Version
CosmeticsCore version 1.2.2f
ProtocolLib Version
version 5.1.0
LoneLibs Version
version 1.0.25
FULL server log
[13:11:55 ERROR]: [dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool] HikariPool-1 - Exception during pool initialization. com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.ad.(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.ab.(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] ... 23 more Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com) at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?] at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?] at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] ... 23 more [13:11:55 WARN]: [CosmeticsCore] Task #8742 for CosmeticsCore v1.2.2f generated an exception dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:596) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:582) ~[CosmeticsCore_1.2.2f.jar:?] at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.(SourceFile:100) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.HikariDataSource.(SourceFile:81) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.ad.(SourceFile:26) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.ab.(SourceFile:32) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.aa.a(SourceFile:20) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.j.h(SourceFile:514) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.cosmeticscore.main.C.o(SourceFile:332) ~[CosmeticsCore_1.2.2f.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-195]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1479) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-195]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-195]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:175) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
... 15 more
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:150) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:166) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
... 15 more
Caused by: java.net.UnknownHostException: 알려진 호스트가 없습니다 (my_url_database_69.com)
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?]
at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) ~[?:?]
at java.net.InetAddress.getAllByName0(InetAddress.java:1532) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1384) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1305) ~[?:?]
at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.NativeSession.connect(NativeSession.java:121) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:945) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:815) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:446) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:239) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:188) ~[mysql-connector-j-8.0.33.jar:8.0.33]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.util.DriverDataSource.getConnection(SourceFile:138) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.a(SourceFile:359) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.PoolBase.b(SourceFile:201) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.a(SourceFile:470) ~[CosmeticsCore_1.2.2f.jar:?]
at dev.lone.shaded.cosmeticscore.com.zaxxer.hikari.pool.HikariPool.aB(SourceFile:561) ~[CosmeticsCore_1.2.2f.jar:?]
... 15 more
Error (optional)
CosmeticsCore config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response