docker run mysql confluence
作者:会飞的zxl
mkdir -p /home/mysql/{conf,logs,data/mysql}
docker run -ti -p 3306:3306 --name mysql57 -v /home/mysql/conf/my.cnf:/etc/mysql/my.cnf -v /home/mysql/logs:/logs -v /home/mysql/data/mysql:/var/lib/mysql -d mysql/mysql-server:5.7
docker logs mysql57
docker exec -it mysql57 mysql -uroot -p
ALTER USER 'root'@'localhost' IDENTIFIED BY 'Passw0rd';
create database confluence default character set utf8 collate utf8_bin;
GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'%' IDENTIFIED BY 'Passw0rd' WITH GRANT OPTION;FLUSH PRIVILEGES;
docker run -d -v /data/confluence:/var/atlassian/application-data/confluence -v /etc/localtime:/etc/localtime:ro --name confluence -p 8090:8090 -p 8091:8091 --link mysql57:db cptactionhank/atlassian-confluence:latest
jbdc:mysql://db/confluence?sessionVariables=tx_isolation='READ-COMMITTED'&useUnicode=true&characterEncoding=utf8
猜你喜欢
您可能感兴趣的文章:
- 获取当前时间年月日时分秒 格式:20001212120000
- 常用属性
- vue.js中使用Export2Excel导出Excel表格
- 移动端css 初始化
- 常用属性
- 滚动banner
- lua lua_package_path attempt to call global 'lua_package_path'
- 1000行MySQL命令,很实用!
- js 获取当前url地址
- safasf
- MySQL ALTER TABLE 添加/修改/删除字段
- php获取ip地址
- ajax The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed.
- jQuery jsonp跨域请求
- nginx lua access_by_lua_file设置变量无变化
- js中的值类型和引用类型的区别
- shell常用脚本变量
- tcpdump 抓包命令
- kubernetes kubect命令总结