01 2023 档案
摘要:1. 将本地的容器打包成自命名的镜像 docker commit -a "authorName" -m "desc" 容器id new_image_name:version 2.将镜像打包输出到tar文件 docker save -o myImage.tar new_image_name:versi
阅读全文
摘要:-- 创建用户 create user 'username'@'%' IDENTIFIED by 'password'; -- 给用户权限 GRANT ALL PRIVILEGES on weather.* to 'weather'@'%';
阅读全文
摘要:-- 找到mysql配置文件修改 /etc/mysql/mysql.conf.d/mysqld.cnf #加上下面的 可以不要密码登录 #skip-grant-tables #skip-networking 然后重启mysql服务 service mysql restart 情况一:没有root用户
阅读全文