更新test目录下的参数
This commit is contained in:
parent
bd38fd6681
commit
b70998ef5b
Binary file not shown.
@ -7,7 +7,7 @@ DbHost = 172.16.100.99 #214
|
||||
DbPort = 9007
|
||||
DbUser = artuser
|
||||
DbPassWord = "C250PflXIWv2SQm8"
|
||||
DbArtist = artistmgmtDev
|
||||
DbName = artistmgmtDev
|
||||
|
||||
[redis]
|
||||
RedisDB = 3
|
||||
|
@ -7,7 +7,7 @@ DbHost = 172.16.100.99 #214
|
||||
DbPort = 9007
|
||||
DbUser = artuser
|
||||
DbPassWord = "C250PflXIWv2SQm8"
|
||||
DbArtist = artistmgmtDev
|
||||
DbName = artistmgmtDev
|
||||
|
||||
[redis]
|
||||
RedisDB = 3
|
||||
|
@ -59,6 +59,13 @@ func LoadMysqlData(file *ini.File) {
|
||||
DbUser = file.Section("mysql").Key("DbUser").String()
|
||||
DbPassWord = file.Section("mysql").Key("DbPassWord").String()
|
||||
DbLogName = file.Section("mysql").Key("DbName").String()
|
||||
fmt.Println("数据库配置=====================================================")
|
||||
fmt.Println("\tDb:", Db)
|
||||
fmt.Println("\tDbHost:", DbHost)
|
||||
fmt.Println("\tDbPort:", DbPort)
|
||||
fmt.Println("\tDbUser:", DbUser)
|
||||
fmt.Println("\tDbPassWord:", DbPassWord)
|
||||
fmt.Println("\tDbLogName:", DbLogName)
|
||||
}
|
||||
|
||||
func Database(conn string) {
|
||||
|
Loading…
Reference in New Issue
Block a user