echo"dmdba soft data -1dmdba hard data-1dmdba soft fsize-1dmdba hard fsize-1dmdba soft nofile65536dmdba hard nofile65536dmdba soft memlock-1dmdba hard memlock-1dmdba soft stack10240dmdba hard stack32768dmdba soft nproc16384dmdba hard nproc16384root soft memlock-1root hard memlock-1">...
"database/sql" "fmt" _"github.com/gotomicro/dmgo" ) funcmain() { obj,err:=sql.Open("dm","dm://username:password@ip:5236") iferr !=nil{ panic(err) return } rows,err:=obj.Query("select TABLE_NAME,comments TABLE_COMMENT from user_tab_comments") ...
./dminit help./dminit path=/home/dmdba/dmsoft 直到显示创建database成功 数据库账号密码 账号密码 开放端口 firewall-cmd --zone=public --add-port=5236/tcp --permanent 重载 firewall-cmd --reload 测试端口是否通常 telnet 你的ip 5236 5、创建进程守护服务 (安装DmServiceDMOA.service服务) 指定达梦运...