Mysql&MinIO
方法
_天明_
这个作者很懒,什么都没留下…
展开
-
mysql message from server: "Host ‘xxx‘ is not allowed to connect to th
解决方法:改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从"localhost"改称"%"mysql -u root -pvmwaremysql>use mysql; www.2cto.commysql>update user set host = ‘%’ where user = ‘root’;mysql>selec原创 2021-10-29 14:59:00 · 305 阅读 · 0 评论 -
golang使用minio上传资源文件的功能
https://blog.csdn.net/qq_27176027/article/details/116425356https://github.com/minio/minio-goFileUploader.gopackage mainimport ( "context" "log" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials")func main() { ctx :=原创 2021-08-25 16:02:05 · 746 阅读 · 0 评论