[英]JDBC MySQL Connection Issue - Attempted reconnect 3 times. Giving up
[英]Could not create connection to database server. Attempted reconnect 3 times. Giving up
我試圖連接到db4free.net,但出現此錯誤。 昨天在工作。 昨天我可以連接,但今天不能。
網址:
jdbc:mysql://db4free.net:3306 / mydb?autoReconnect = true
代碼行錯誤位於:
connection = DriverManager.getConnection(url, username, password);
JDBC驅動程序正在正確加載,因此不應是錯誤。
那就是您免費獲得的東西。 我建議使用其他數據庫托管服務提供商,或者自己檢查托管數據庫服務器。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.