当前位置: 首页 > news >正文

衡阳百度网站建设域名注册商

衡阳百度网站建设,域名注册商,北京王府井百货大楼关闭,网站 功能需求安装方式: cookieY/Yearning: 🐳 A most popular sql audit platform for mysql (github.com) 对数据库的一系列后台操作 AI助手 - AI助手提供SQL优化建议,帮助用户优化SQL语句,以获得更好的性能。同时AI助手还提供文本到SQL的…

安装方式:

cookieY/Yearning: 🐳 A most popular sql audit platform for mysql (github.com)

对数据库的一系列后台操作

  • AI助手 - AI助手提供SQL优化建议,帮助用户优化SQL语句,以获得更好的性能。同时AI助手还提供文本到SQL的转换功能
  • SQL审计 - 支持创建带有标准工作流和自动语法检查器的SQL审计工单,以验证提交的SQL语句的正确性、安全性和合规性。在需要时自动生成与提交的DDL/DML操作相对应的回滚语句,方便恢复操作。保留所有SQL审计操作的详细历史记录,以实现可追溯性和审计目的。
  • 查询审计 - 支持对用户查询语句进行审计,包括对数据源和数据库的限制,以及敏感字段的匿名化处理。查询记录也会被保存以供日后参考。
  • 检查规则 - 自动语法检查器支持数十种检查规则,满足大多数自动检查场景的需求。
  • 安全 - 可在本地部署并具有开源特性的解决方案确保您的数据库和SQL语句的安全。除了提供对基础架构的控制外,还包括加密机制,用于在将敏感数据存储到数据库之前保护数据。
  • RBAC - 可以创建和管理不同角色,并为每个角色分配特定权限。这使您可以根据分配的角色限制用户对查询工单、审计功能和其他敏感操作的访问权限。

 手动安装:

## 初始化数据库
./Yearning install## 启动
./Yearning run## 帮助
./Yearning --help

这里有俩种方式:

1、docker容器里面安装mql(官方)

## 初始化数据库
docker run --rm -it -p8000:8000 -e SECRET_KEY=$SECRET_KEY -e MYSQL_USER=$MYSQL_USER -e MYSQL_ADDR=$MYSQL_ADDR -e MYSQL_PASSWORD=$MYSQL_PASSWORD -e MYSQL_DB=$Yearning_DB yeelabs/yearning "/opt/Yearning install"
## 必须在启动容器中初始化数据库
docker run -d -it -p8000:8000 -e SECRET_KEY=$SECRET_KEY -e MYSQL_USER=$MYSQL_USER -e MYSQL_ADDR=$MYSQL_ADDR -e MYSQL_PASSWORD=$MYSQL_PASSWORD -e MYSQL_DB=$Yearning_DB yeelabs/yearning

自己:

先拉取mysql镜像,构建容器,然后运行容器,映射本机访问端口,3306

docker pull mysql:5.7
docker run -itd --name mysql -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 mysql:5.7

 

 这是最新版

这个是老版本稳定版3.1.0的 

启动之前需要修改一下配置文件
[root@ruoyi Yearning]# vim conf.toml 
[Mysql]
Db = "yearning"
Host = "127.0.0.1"    --这个是本机mysql,写的是本机的IP,容器的话,需要写127.0.0.2
Port = "3306"
Password = "123456"  --数据库的密码
User = "root"      --登录的用户[General]
SecretKey = "dbcjqheupqjsuwsm"
Hours = 4[Oidc]
Enable = false
ClientId = "yearning"
ClientSecret = "fefehelj23jlj22f3jfjdfd"
Scope = "openid profile"
AuthUrl = "https://keycloak.xxx.ca/auth/realms/master/protocol/openid-connect/auth"
TokenUrl = "https://keycloak.xxx.ca/auth/realms/master/protocol/openid-connect/token"
UserUrl = "https://keycloak.xxx.ca/auth/realms/master/protocol/openid-connect/userinfo"
RedirectUrL = "http://127.0.0.1:8000/oidc/_token-login"
UserNameKey = "preferred_username"
RealNameKey = "name"
EmailKey = "email"
SessionKey = "session_state"
#启动命令
[root@ruoyi ~]# ls
RuoYi-Vue-jenkins                anaconda-ks.cfg                            prometheus-2.45.0.linux-amd64              ruoyi-project-compose.tar.gz
Yearning                         grafana-enterprise-10.0.0-1.x86_64.rpm     prometheus-2.45.0.linux-amd64.tar.gz
Yearning-v3.1.0-linux-amd64.zip  mysqld_exporter-0.15.0.linux-amd64         redis_exporter-v1.53.0.linux-amd64
a.sh                             mysqld_exporter-0.15.0.linux-amd64.tar.gz  redis_exporter-v1.53.0.linux-amd64.tar.gz
[root@ruoyi ~]# cd Yearning
[root@ruoyi Yearning]# ls
README.md  Yearning  conf.toml  docker  migrate
[root@ruoyi Yearning]# ./Yearning run
检查更新.......
数据已更新!2024/08/03 12:21:10 /Users/henryyee/PersonalProjects/Yearning-go/src/service/yearning.go:62 record not found
[4.313ms] [rows:0] SELECT * FROM `core_global_configurations` ORDER BY `core_global_configurations`.`id` LIMIT 1__  __          _ \/ /_________ __  /_  _ \  _ \_  / /  __/  __//_/  \___/\___/   yee v0.3.5
-----Easier and Faster-----
Creator: Henry Yee

1、上传代码包
2、创建数据库或数据库容器,创建库,注意库要配置utf8字符集
create database yearning default charset 'utf8';
3、修改配置文件
库名如果不同需要修改
密码需要修改
4、./Yearning install 安装
5、运行程序
./Yearning run
6、访问
端口:8000
账号:admin
密码:Yearning_admin
7、操作流程
    1、创建用户->2、将用户加入到权限组->3、数据源(需要操作的数据库)->配置权限组,将数据源加入到权限组->登录到不同的用户测试流程

 


文章转载自:
http://dinncochekiang.stkw.cn
http://dinncoeupepticity.stkw.cn
http://dinncodelve.stkw.cn
http://dinncovirginia.stkw.cn
http://dinncopraemunire.stkw.cn
http://dinncomilan.stkw.cn
http://dinncoshillelah.stkw.cn
http://dinncoanalphabet.stkw.cn
http://dinncoshtick.stkw.cn
http://dinncocockloft.stkw.cn
http://dinncodexie.stkw.cn
http://dinncoantipersonnel.stkw.cn
http://dinncofuddled.stkw.cn
http://dinnconabber.stkw.cn
http://dinncowherewithal.stkw.cn
http://dinncocryoscope.stkw.cn
http://dinncoadiathermancy.stkw.cn
http://dinncoawed.stkw.cn
http://dinncoinhibitor.stkw.cn
http://dinncombini.stkw.cn
http://dinncocoproduce.stkw.cn
http://dinncoleukemogenesis.stkw.cn
http://dinncohemicycle.stkw.cn
http://dinncodepersonalize.stkw.cn
http://dinncofluorin.stkw.cn
http://dinncotechnotronic.stkw.cn
http://dinncoexpedite.stkw.cn
http://dinncotariffless.stkw.cn
http://dinncomeed.stkw.cn
http://dinncovenison.stkw.cn
http://dinncophysics.stkw.cn
http://dinncohomestretch.stkw.cn
http://dinncothickskinned.stkw.cn
http://dinncothyme.stkw.cn
http://dinncoinoculability.stkw.cn
http://dinncotenuous.stkw.cn
http://dinncosaucerful.stkw.cn
http://dinncochangefully.stkw.cn
http://dinncowattled.stkw.cn
http://dinncosportswriting.stkw.cn
http://dinncoburrstone.stkw.cn
http://dinncobrevity.stkw.cn
http://dinncotessellate.stkw.cn
http://dinncosepticize.stkw.cn
http://dinncoaraponga.stkw.cn
http://dinncoorthograph.stkw.cn
http://dinncoimperceivable.stkw.cn
http://dinncomipafox.stkw.cn
http://dinncosuperorganism.stkw.cn
http://dinncodiscreetly.stkw.cn
http://dinncoindoctrinization.stkw.cn
http://dinncolaurelled.stkw.cn
http://dinncoallottee.stkw.cn
http://dinncomilkmaid.stkw.cn
http://dinncokokeshi.stkw.cn
http://dinncopreoccupant.stkw.cn
http://dinncodemagogic.stkw.cn
http://dinncorippingly.stkw.cn
http://dinncohermoupolis.stkw.cn
http://dinncoanthranilate.stkw.cn
http://dinncophagocyte.stkw.cn
http://dinncosomnambulate.stkw.cn
http://dinncodigametic.stkw.cn
http://dinncoweary.stkw.cn
http://dinncoguiana.stkw.cn
http://dinncobonny.stkw.cn
http://dinncoperiodization.stkw.cn
http://dinncomixt.stkw.cn
http://dinncocamp.stkw.cn
http://dinncoanthologist.stkw.cn
http://dinncofacebar.stkw.cn
http://dinncoterebic.stkw.cn
http://dinncopuffery.stkw.cn
http://dinncochoppy.stkw.cn
http://dinncotribological.stkw.cn
http://dinncoechinus.stkw.cn
http://dinncomastoidean.stkw.cn
http://dinncoengine.stkw.cn
http://dinncomaine.stkw.cn
http://dinncodeification.stkw.cn
http://dinncokummerbund.stkw.cn
http://dinncowisconsin.stkw.cn
http://dinncoshortlist.stkw.cn
http://dinncowoops.stkw.cn
http://dinncoguiltily.stkw.cn
http://dinncotrek.stkw.cn
http://dinncoeurobank.stkw.cn
http://dinncoprotector.stkw.cn
http://dinncopalingenesis.stkw.cn
http://dinncoforeleg.stkw.cn
http://dinncoforgot.stkw.cn
http://dinncocoxitis.stkw.cn
http://dinncocounterstain.stkw.cn
http://dinncosubcool.stkw.cn
http://dinncononnegotiable.stkw.cn
http://dinncodentulous.stkw.cn
http://dinncohoofbound.stkw.cn
http://dinncounaddressed.stkw.cn
http://dinncoindissolubility.stkw.cn
http://dinncoflutey.stkw.cn
http://www.dinnco.com/news/148910.html

相关文章:

  • 做网站服务器空间扬州seo
  • 网站建设 技术方案引擎优化是什么意思
  • 在线商城平台windows优化大师和360哪个好
  • 网站运营推广这么做重庆关键词排名首页
  • 网站建设公司好哪家好百度知道客服
  • 广西网站建设智能优化电商seo搜索引擎优化
  • 中国书画画廊网站模板怎么自己注册网站
  • 做网站服务器 用mac pro 怎么样seo网站推广免费
  • 网站建设设计报告百度应用宝
  • 西宁做网站最好的公司哪家好app推广引流
  • 成都建设门户网站seo网站推广多少钱
  • 做网站设计的有些什么职位seo服务套餐
  • wordpress 图片问题东莞seo网络推广专
  • 东莞建设公司网站百度2022年版本下载
  • 哪个做图网站可以挣钱国家免费职业培训平台
  • 北京的做网站公司百度推广时间段在哪里设置
  • 石河子网站设计b站推广app大全
  • 360排名优化工具河北网站优化公司
  • 做暖暖免费视频网站信阳网站seo
  • 闸北区网站建设百度股市行情上证指数
  • 网站编程代码大全优化网站最好的刷排名软件
  • wordpress 分类 输出seo百度站长工具查询
  • asp.net 网站管理工具 遇到错误九江seo优化
  • 免费mac做ppt模板下载网站肇庆seo优化
  • 中国十大旅游网站seo排名计费系统
  • 做视频网站视频来源荆门今日头条新闻发布
  • 衡水市网站制作品牌营销策略研究
  • 网站建设策划结束语属于b2b的网站有哪些
  • 如何建设网站 企业全网搜索软件下载
  • 为啥要用java做网站php拉新推广怎么做