update code
This commit is contained in:
@@ -4,11 +4,11 @@ from mysql.connector import Error
|
||||
def test_mysql_connection():
|
||||
# MySQL 配置
|
||||
config = {
|
||||
'host': '192.168.2.20',
|
||||
'port': 8006,
|
||||
'user': 'mticloud',
|
||||
'password': 'fT3KsNDahADGcWCZ',
|
||||
'database': 'mti-cloud',
|
||||
'host': '192.168.1.202',
|
||||
'port': 3306,
|
||||
'user': 'gitea',
|
||||
'password': 'CYVVMMxrox3ThsGy',
|
||||
'database': 'gitea',
|
||||
'charset': 'utf8mb4'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user