초기화

This commit is contained in:
2026-07-15 18:37:19 +09:00
commit 94abc5461d
1268 changed files with 380198 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import mysql.connector
hosts = ["localhost", "dsm.chemifactory.com"]
ports = [3306, 3307]
for host in hosts:
for port in ports:
print(f"Trying {host}:{port}...")
try:
conn = mysql.connector.connect(
host=host,
port=port,
user="ctnt_root",
password="Umsang6595!!",
database="carbon_cutting_mc_db",
connection_timeout=3
)
print(f"SUCCESS: Connected to {host}:{port}!")
conn.close()
except Exception as e:
print(f"FAILED {host}:{port}: {e}")