Go语言操作MySQL数据库

 

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

go get -u -v github.com/go-sql-driver/mysql

 

 

 

 

systemctl status mariadb.service 服务状态

启动状体  右上的点 是绿 色


systemctl start mariadb.service  开启服务

 


systemctl stop mariadb.service 关闭服务
systemctl restart mariadb.service 重启服务

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄