├── .env.local
├── .env.production
├── .gitignore
├── .idea
├── .gitignore
├── inspectionProfiles
│ └── Project_Default.xml
├── j-book.iml
├── modules.xml
└── vcs.xml
├── .npmrc
├── README.md
├── app.vue
├── assets
└── css
│ └── github-markdown-light.css
├── components
├── BannerSider.vue
├── HelloWorld.vue
├── NavBar.vue
├── NoteItem.vue
└── RecommendAuthor.vue
├── composables
├── state.ts
├── useHelper.ts
└── useHttpFetch.ts
├── deploy
├── db
│ ├── #ib_16384_0.dblwr
│ ├── #ib_16384_1.dblwr
│ ├── #innodb_redo
│ │ ├── #ib_redo10_tmp
│ │ ├── #ib_redo11_tmp
│ │ ├── #ib_redo12_tmp
│ │ ├── #ib_redo13_tmp
│ │ ├── #ib_redo14_tmp
│ │ ├── #ib_redo15_tmp
│ │ ├── #ib_redo16_tmp
│ │ ├── #ib_redo17_tmp
│ │ ├── #ib_redo18_tmp
│ │ ├── #ib_redo19_tmp
│ │ ├── #ib_redo20_tmp
│ │ ├── #ib_redo21_tmp
│ │ ├── #ib_redo22_tmp
│ │ ├── #ib_redo23_tmp
│ │ ├── #ib_redo24_tmp
│ │ ├── #ib_redo25_tmp
│ │ ├── #ib_redo26_tmp
│ │ ├── #ib_redo27_tmp
│ │ ├── #ib_redo28_tmp
│ │ ├── #ib_redo29_tmp
│ │ ├── #ib_redo30_tmp
│ │ ├── #ib_redo31_tmp
│ │ ├── #ib_redo32_tmp
│ │ ├── #ib_redo33_tmp
│ │ ├── #ib_redo34_tmp
│ │ ├── #ib_redo35_tmp
│ │ ├── #ib_redo36_tmp
│ │ ├── #ib_redo37_tmp
│ │ ├── #ib_redo38_tmp
│ │ ├── #ib_redo39_tmp
│ │ ├── #ib_redo40_tmp
│ │ └── #ib_redo9
│ ├── #innodb_temp
│ │ ├── temp_1.ibt
│ │ ├── temp_10.ibt
│ │ ├── temp_2.ibt
│ │ ├── temp_3.ibt
│ │ ├── temp_4.ibt
│ │ ├── temp_5.ibt
│ │ ├── temp_6.ibt
│ │ ├── temp_7.ibt
│ │ ├── temp_8.ibt
│ │ └── temp_9.ibt
│ ├── auto.cnf
│ ├── binlog.000001
│ ├── binlog.000002
│ ├── binlog.index
│ ├── ca-key.pem
│ ├── ca.pem
│ ├── client-cert.pem
│ ├── client-key.pem
│ ├── ib_buffer_pool
│ ├── ibdata1
│ ├── ibtmp1
│ ├── jbook
│ │ ├── notebook_notes.ibd
│ │ ├── notebooks.ibd
│ │ ├── notes.ibd
│ │ └── users.ibd
│ ├── mysql.ibd
│ ├── mysql.sock
│ ├── mysql
│ │ ├── general_log.CSM
│ │ ├── general_log.CSV
│ │ ├── general_log_213.sdi
│ │ ├── slow_log.CSM
│ │ ├── slow_log.CSV
│ │ └── slow_log_214.sdi
│ ├── performance_schema
│ │ ├── accounts_145.sdi
│ │ ├── binary_log_trans_189.sdi
│ │ ├── cond_instances_82.sdi
│ │ ├── data_lock_waits_161.sdi
│ │ ├── data_locks_160.sdi
│ │ ├── error_log_83.sdi
│ │ ├── events_errors_su_139.sdi
│ │ ├── events_errors_su_140.sdi
│ │ ├── events_errors_su_141.sdi
│ │ ├── events_errors_su_142.sdi
│ │ ├── events_errors_su_143.sdi
│ │ ├── events_stages_cu_111.sdi
│ │ ├── events_stages_hi_112.sdi
│ │ ├── events_stages_hi_113.sdi
│ │ ├── events_stages_su_114.sdi
│ │ ├── events_stages_su_115.sdi
│ │ ├── events_stages_su_116.sdi
│ │ ├── events_stages_su_117.sdi
│ │ ├── events_stages_su_118.sdi
│ │ ├── events_statement_119.sdi
│ │ ├── events_statement_120.sdi
│ │ ├── events_statement_121.sdi
│ │ ├── events_statement_122.sdi
│ │ ├── events_statement_123.sdi
│ │ ├── events_statement_124.sdi
│ │ ├── events_statement_125.sdi
│ │ ├── events_statement_126.sdi
│ │ ├── events_statement_127.sdi
│ │ ├── events_statement_128.sdi
│ │ ├── events_statement_129.sdi
│ │ ├── events_statement_130.sdi
│ │ ├── events_transacti_131.sdi
│ │ ├── events_transacti_132.sdi
│ │ ├── events_transacti_133.sdi
│ │ ├── events_transacti_134.sdi
│ │ ├── events_transacti_135.sdi
│ │ ├── events_transacti_136.sdi
│ │ ├── events_transacti_137.sdi
│ │ ├── events_transacti_138.sdi
│ │ ├── events_waits_cur_84.sdi
│ │ ├── events_waits_his_85.sdi
│ │ ├── events_waits_his_86.sdi
│ │ ├── events_waits_sum_87.sdi
│ │ ├── events_waits_sum_88.sdi
│ │ ├── events_waits_sum_89.sdi
│ │ ├── events_waits_sum_90.sdi
│ │ ├── events_waits_sum_91.sdi
│ │ ├── events_waits_sum_92.sdi
│ │ ├── file_instances_93.sdi
│ │ ├── file_summary_by__94.sdi
│ │ ├── file_summary_by__95.sdi
│ │ ├── global_status_181.sdi
│ │ ├── global_variables_184.sdi
│ │ ├── host_cache_96.sdi
│ │ ├── hosts_146.sdi
│ │ ├── keyring_componen_191.sdi
│ │ ├── keyring_keys_152.sdi
│ │ ├── log_status_174.sdi
│ │ ├── memory_summary_b_154.sdi
│ │ ├── memory_summary_b_155.sdi
│ │ ├── memory_summary_b_156.sdi
│ │ ├── memory_summary_b_157.sdi
│ │ ├── memory_summary_g_153.sdi
│ │ ├── metadata_locks_159.sdi
│ │ ├── mutex_instances_97.sdi
│ │ ├── objects_summary__98.sdi
│ │ ├── performance_time_99.sdi
│ │ ├── persisted_variab_187.sdi
│ │ ├── prepared_stateme_175.sdi
│ │ ├── processlist_100.sdi
│ │ ├── replication_appl_165.sdi
│ │ ├── replication_appl_166.sdi
│ │ ├── replication_appl_167.sdi
│ │ ├── replication_appl_168.sdi
│ │ ├── replication_appl_170.sdi
│ │ ├── replication_appl_171.sdi
│ │ ├── replication_asyn_172.sdi
│ │ ├── replication_asyn_173.sdi
│ │ ├── replication_conn_162.sdi
│ │ ├── replication_conn_164.sdi
│ │ ├── replication_grou_163.sdi
│ │ ├── replication_grou_169.sdi
│ │ ├── rwlock_instances_101.sdi
│ │ ├── session_account__151.sdi
│ │ ├── session_connect__150.sdi
│ │ ├── session_status_182.sdi
│ │ ├── session_variable_185.sdi
│ │ ├── setup_actors_102.sdi
│ │ ├── setup_consumers_103.sdi
│ │ ├── setup_instrument_104.sdi
│ │ ├── setup_objects_105.sdi
│ │ ├── setup_threads_106.sdi
│ │ ├── socket_instances_147.sdi
│ │ ├── socket_summary_b_148.sdi
│ │ ├── socket_summary_b_149.sdi
│ │ ├── status_by_accoun_177.sdi
│ │ ├── status_by_host_178.sdi
│ │ ├── status_by_thread_179.sdi
│ │ ├── status_by_user_180.sdi
│ │ ├── table_handles_158.sdi
│ │ ├── table_io_waits_s_107.sdi
│ │ ├── table_io_waits_s_108.sdi
│ │ ├── table_lock_waits_109.sdi
│ │ ├── threads_110.sdi
│ │ ├── tls_channel_stat_190.sdi
│ │ ├── user_defined_fun_188.sdi
│ │ ├── user_variables_b_176.sdi
│ │ ├── users_144.sdi
│ │ ├── variables_by_thr_183.sdi
│ │ └── variables_info_186.sdi
│ ├── private_key.pem
│ ├── public_key.pem
│ ├── server-cert.pem
│ ├── server-key.pem
│ ├── sys
│ │ └── sys_config.ibd
│ ├── undo_001
│ └── undo_002
└── docker-compose.yml
├── jbook.sql
├── middleware
└── auth.ts
├── nuxt.config.js
├── package.json
├── pages
├── about.vue
├── index.vue
├── note
│ └── writer.vue
├── p
│ └── [id].vue
├── sign_in.vue
├── sign_up.vue
└── user
│ └── settings.vue
├── plugins
├── antPlugin.ts
└── myPlugin.ts
├── public
├── favicon.ico
├── images
│ ├── banner-s-5.png
│ ├── banner-s-club.png
│ ├── banner-s-daily.png
│ ├── banner-s.png
│ ├── default-avatar.png
│ ├── login_page_download.png
│ ├── logo.png
│ ├── note.png
│ └── sign_bg.png
└── img
│ ├── 1680360870506-16768532085901792.jpg
│ ├── 1680360905309-16768532085901792.jpg
│ └── 1680361223516-16768532085901792.jpg
├── server
├── api
│ ├── auth
│ │ ├── login.post.ts
│ │ ├── register.post.ts
│ │ └── user.put.ts
│ ├── cos
│ │ └── auth.ts
│ ├── home
│ │ ├── detail.ts
│ │ └── notes.get.ts
│ ├── note
│ │ ├── note.delete.ts
│ │ ├── note.get.ts
│ │ ├── note.post.ts
│ │ ├── note.put.ts
│ │ ├── notebook.delete.ts
│ │ ├── notebook.get.ts
│ │ ├── notebook.post.ts
│ │ ├── notebook.put.ts
│ │ └── notes.get.ts
│ ├── notebooks.get.ts
│ ├── upload.post.ts
│ ├── uploadCos.post.ts
│ └── user.ts
├── middleware
│ ├── auth.ts
│ └── cors.ts
└── utils
│ ├── db
│ └── mysql
│ │ └── index.ts
│ └── helper
│ └── index.ts
├── store
└── myStore.ts
├── tsconfig.json
└── yarn.lock
/.env.local:
--------------------------------------------------------------------------------
1 | SECRET_ID=AKID5d0A7qSt9DjAQSHsGMEyXzHRN5twrte
2 | SECRET_KEY=6zfBTaWFtdKYZSikZ9Wox06dECueyruerUWEY
3 | BUCKET=jbook-1253664256
4 | REGION=ap-shanghai
5 | DB_HOST=127.0.0.1
6 | DB_USER=root
7 | DB_DATABASE=jbook
8 | DB_PASSWORD=123456
9 |
10 |
--------------------------------------------------------------------------------
/.env.production:
--------------------------------------------------------------------------------
1 | export SECRET_ID=xxxxxx
2 | export SECRET_KEY=xxxxx
3 | export BUCKET=jbook-125
4 | export REGION=ap-shanghai
5 | export DB_HOST=localhost
6 | export DB_USER=root
7 | export DB_DATABASE=jbook
8 | export DB_PASSWORD=123456
9 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | *.log*
3 | .nuxt
4 | .nitro
5 | .cache
6 | .output
7 | dist
8 | .DS_Store
9 |
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Editor-based HTTP Client requests
5 | /httpRequests/
6 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/.idea/j-book.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | shamefully-hoist=true
2 | strict-peer-dependencies=false
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Nuxt 3 Minimal Starter
2 |
3 | Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4 |
5 | ## Setup
6 |
7 | Make sure to install the dependencies:
8 |
9 | ```bash
10 | # yarn
11 | yarn install
12 |
13 | # npm
14 | npm install
15 |
16 | # pnpm
17 | pnpm install
18 | ```
19 |
20 | ## Development Server
21 |
22 | Start the development server on http://localhost:3000
23 |
24 | ```bash
25 | npm run dev
26 | ```
27 |
28 | ## Production
29 |
30 | Build the application for production:
31 |
32 | ```bash
33 | npm run build
34 | ```
35 |
36 | Locally preview production build:
37 |
38 | ```bash
39 | npm run preview
40 | ```
41 |
42 | Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
43 |
--------------------------------------------------------------------------------
/app.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/components/BannerSider.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
23 |
24 |
35 |
--------------------------------------------------------------------------------
/components/HelloWorld.vue:
--------------------------------------------------------------------------------
1 |
2 | {{msg}}
3 |
4 |
5 |
13 |
14 |
17 |
--------------------------------------------------------------------------------
/components/NavBar.vue:
--------------------------------------------------------------------------------
1 |
2 |
89 |
90 |
91 |
110 |
111 |
152 |
153 |
168 |
--------------------------------------------------------------------------------
/components/NoteItem.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | {{props.note.title}}
7 | {{props.note.subTitle}}
8 |
9 | 136.0
10 | {{props.note.nickname}}
11 |
12 |
13 | {{props.note.like}}
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
50 |
51 |
113 |
--------------------------------------------------------------------------------
/components/RecommendAuthor.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 推荐作者
6 | 换一批
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | 小埋
20 | + 关注
21 |
22 |
写了269.3k字 · 31.6k喜欢
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
34 |
35 |
78 |
--------------------------------------------------------------------------------
/composables/state.ts:
--------------------------------------------------------------------------------
1 | export const useCounter = () => useState('counter',()=>1)
2 | //用户信息
3 | export const useUserInfo = () => useState('userInfo',()=>{
4 | const userInfo = useCookie('userInfo')
5 | return userInfo.value ? userInfo.value : null
6 | })
7 |
--------------------------------------------------------------------------------
/composables/useHelper.ts:
--------------------------------------------------------------------------------
1 | import { v4 as uuidv4 } from 'uuid';
2 | export const getUUID = () =>{
3 | return uuidv4()
4 | }
5 |
--------------------------------------------------------------------------------
/composables/useHttpFetch.ts:
--------------------------------------------------------------------------------
1 | import {callWithNuxt} from "#app";
2 |
3 | interface myFetchOptions {
4 | headers?: Record
5 |
6 | [key: string]: any
7 | }
8 |
9 | const getBaseUrl = () => {
10 | let baseURL = ''
11 | if (process.env.NODE_ENV === 'production') {
12 | //生产环境
13 | if (process.server) {
14 | //SSR请求内网
15 | baseURL = 'http://127.0.0.1:3000/'
16 | }else {
17 | baseURL = 'http://jbook.XXX.com/'
18 | }
19 | }else {
20 | //本地开发环境
21 | baseURL = 'http://127.0.0.1:3000/'
22 | }
23 | baseURL = 'http://127.0.0.1:3000/'
24 | return baseURL
25 | }
26 | export const useHttpFetch = (url: string, opt: myFetchOptions) => {
27 | //token
28 | const accessToken = useCookie('accessToken')
29 | //添加请求头和token
30 | const headers = {
31 | ...opt.headers,
32 | ...(accessToken.value ? {Authorization: `Bearer ${accessToken.value}`} : {})
33 | }
34 | opt.headers = headers
35 | const nuxtApp = useNuxtApp()
36 | return useFetch(url, {
37 | ...opt,
38 | baseURL: getBaseUrl(),//基本url
39 | onRequest({request, options}) {
40 | console.log('request', request)
41 | },
42 | onRequestError({request, options, error}) {
43 | // Handle the request errors
44 | console.log('request', request)
45 | },
46 | async onResponse({request, response, options}) {
47 | // Process the response data
48 | //自定义处理数据
49 | // if (response._data.code === 0){
50 | // //处理
51 | // response._data = response._data.data
52 | // }else{
53 | //
54 | // }
55 |
56 | },
57 | async onResponseError({request, response, options}) {
58 | // Handle the response errors
59 | console.log('error', response.status)
60 | //https://github.com/nuxt/nuxt/issues/14771
61 | //未登录401状态
62 | if (response.status === 401) {
63 | await callWithNuxt(nuxtApp,navigateTo,[
64 | "/sign_in",
65 | {replace:true,redirectCode:401}
66 | ])
67 | }else if(response.status === 500){
68 | console.log('服务器报错!!')
69 | }
70 | }
71 | })
72 | }
73 |
74 | //定义接口
75 | export const userInfoFetch = (opt: myFetchOptions) => {
76 | return useHttpFetch('/user/info', opt)
77 | }
78 | //注册接口
79 | export const registerFetch = (opt: myFetchOptions) => {
80 | return useHttpFetch('/api/auth/register', opt)
81 | }
82 | //登录接口
83 | export const loginFetch = (opt: myFetchOptions) => {
84 | return useHttpFetch('/api/auth/login', opt)
85 | }
86 | //文集接口
87 |
88 | export const notebookFetch = (opt: myFetchOptions) => {
89 | return useHttpFetch('/api/note/notebook', opt)
90 | }
91 |
92 | //获取文章
93 | export const notesFetch = (opt: myFetchOptions) => {
94 | return useHttpFetch('/api/note/notes', opt)
95 | }
96 | //新建文章
97 | export const noteFetch = (opt: myFetchOptions) => {
98 | return useHttpFetch('/api/note/note', opt)
99 | }
100 |
101 | //文章图片上传腾讯云
102 | export const cosAuthFetch = (opt: myFetchOptions) => {
103 | return useHttpFetch('/api/cos/auth', opt)
104 | }
105 |
106 | //获取文章列表
107 | export const homeNotesFetch = (opt: myFetchOptions) => {
108 | return useHttpFetch('/api/home/notes', opt)
109 | }
110 |
111 | //获取文章详情
112 | export const noteDetailFetch = (opt: myFetchOptions) => {
113 | return useHttpFetch('/api/home/detail', opt)
114 | }
115 | //上传头像到腾讯云
116 | export const uploadCosFetch = (opt: myFetchOptions) => {
117 | return useHttpFetch('/api/uploadCos', opt)
118 | }
119 | //修改用户信息
120 | export const editUserFetch = (opt: myFetchOptions) => {
121 | return useHttpFetch('/api/auth/user', opt)
122 | }
123 |
124 |
125 |
--------------------------------------------------------------------------------
/deploy/db/#ib_16384_0.dblwr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#ib_16384_0.dblwr
--------------------------------------------------------------------------------
/deploy/db/#innodb_redo/#ib_redo9:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_redo/#ib_redo9
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_1.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_1.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_10.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_10.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_2.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_2.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_3.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_3.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_4.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_4.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_5.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_5.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_6.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_6.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_7.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_7.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_8.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_8.ibt
--------------------------------------------------------------------------------
/deploy/db/#innodb_temp/temp_9.ibt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/#innodb_temp/temp_9.ibt
--------------------------------------------------------------------------------
/deploy/db/auto.cnf:
--------------------------------------------------------------------------------
1 | [auto]
2 | server-uuid=9de636da-63fd-11ee-9d28-0242ac130002
3 |
--------------------------------------------------------------------------------
/deploy/db/binlog.000001:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/binlog.000001
--------------------------------------------------------------------------------
/deploy/db/binlog.000002:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/binlog.000002
--------------------------------------------------------------------------------
/deploy/db/binlog.index:
--------------------------------------------------------------------------------
1 | ./binlog.000001
2 | ./binlog.000002
3 |
--------------------------------------------------------------------------------
/deploy/db/ca-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIIEpQIBAAKCAQEA5GhmGVLwClFpbzHpsjkMnDPg/u66nUxWUyHkkRwMg9pW0fN9
3 | S1h45Iq8oxYhbtVKevND1Xy1EQ9K40PyMCq/BWyt+8F4z/nyGUKlyuxPpPcVshvm
4 | rWYRHDZD7T3aK1/RUESlHypf2fdeCL9lDl+/mTGhwvPlhCDSk7/O1YbizzK5X62c
5 | onvwdJ1rJ/C2MblvPE+v78JYcpYVyLmYwCGpJErzJ3qsr2iYhYUQXujAanvvA8D2
6 | xnKnbGX7KGq7kkARaAheQHlQAO+r5JIr4/zbbjkvU0HXG5/aUeKC1shUfe6eoF/s
7 | lw4B+Q0FFAjN+xbcMq9UIUhI1oi2Q04CBHr5lwIDAQABAoIBAQCva1LGrkD227HL
8 | GZ1vKIt7yAhMItMmDcPa0xP1MoKWHXFCi+u1mzw14iugYVXKBnvOU9jMNJvnf0Q3
9 | qS5vOdU9eEtjKCL+L+t05Q/p+nXsr2t1QCJ5GAOaFD81DKTrXQqnyCC8/9Ff2LDa
10 | rQwS7wx6vniK/sBOKtsvaEeVDKRTFiEAQAuHJRXLRTVou5OtVeiuKMx909Aiw9NU
11 | XJluMTzpOAVQyvMeCD5RCPU6pfR3XpqeRmHRquL6UbgvUwZ0ky7cj099R8Xec0UM
12 | A6V+5Ec0iC9R/58ltKrWAOrOeucGwpgbw9XyYHA2hrvyHF4yHqaxI2XUDWwMZ8yP
13 | 7iwgBMxZAoGBAP7myjjj2OTy1yXL0Us6RdcDsg+G7EGCxuIxW06GtbpjyDBAUD96
14 | qULVAsoKdnJUswJ9vOrJwYk34WahVw45aP88G11pkEYqodJbj0OFAZDdkiuaiwG4
15 | b/ewKtVrS0Yg11FQXcehG/u9PtWy/oH5sSkKPYWPe9EyEpgwZOdVez6dAoGBAOVk
16 | YXiCpzDBg4mZyCsYcTgk1VYzIqqf7+JuVsIpS5GvCQMTWkb+e0+kAsjXhSdTwP1Y
17 | DCIfJEZYA/hGytB9Nn1VHhGizoN15VezQNGKsBZaEjnKjTFT45Cw2EpmsZp3wSIu
18 | K7B3jZ8H/Pw2orYW4w2v4KI/KcL77aRAmcANjOjDAoGAfsydwekN5u4qOmIGTg7B
19 | 2TC8bd7nPbtpZfG5gvmeAwdJ+T607K7+7gD6bzj/LOaXWeDkjkMo5DKJDL2riabj
20 | ZTwoPLKbk1v3vaXQQX0zhzXBVbF9/rAZ+rOGyz2hZ1RE5+07iWfKfNLqI/HziwKD
21 | r2+ppPv4Uts+xrgkKbOrKD0CgYEAhIY3oY2p1YsW2RoVAIDAeDUfYwtrzbNUvTYN
22 | vWJqHCJJTJOTpkxDJUGVsj6A2LWUW0jQya3AITucH4WWiliscEAKfRnXwS8NbltK
23 | 6UP8cw1aVjTk2UijweXJL0Kg/KKO25Zc+zg2g1f0GineWuBiEHg5iMKA9/rf0fLY
24 | YJHzhE0CgYEAtaGuAlSHXrmn/KU23VEF0EGeWuTHvwHxFMJ6IgcOeXLngCFEPOoK
25 | 0r5W07uJOmxMlt4sL+vNrXnW8g4ZARcboXaUAy4tNQS04MnnTCIt7I1Zs80X8qmw
26 | PSqASMbc6KqpM9N/euso6UqMv71RlvDJrUak/yqSiAjFRtAe8IXovX0=
27 | -----END RSA PRIVATE KEY-----
28 |
--------------------------------------------------------------------------------
/deploy/db/ca.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIDBjCCAe6gAwIBAgIBATANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
3 | TF9TZXJ2ZXJfOC4wLjMyX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
4 | DTIzMTAwNjA0MDU0OFoXDTMzMTAwMzA0MDU0OFowPDE6MDgGA1UEAwwxTXlTUUxf
5 | U2VydmVyXzguMC4zMl9BdXRvX0dlbmVyYXRlZF9DQV9DZXJ0aWZpY2F0ZTCCASIw
6 | DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAORoZhlS8ApRaW8x6bI5DJwz4P7u
7 | up1MVlMh5JEcDIPaVtHzfUtYeOSKvKMWIW7VSnrzQ9V8tREPSuND8jAqvwVsrfvB
8 | eM/58hlCpcrsT6T3FbIb5q1mERw2Q+092itf0VBEpR8qX9n3Xgi/ZQ5fv5kxocLz
9 | 5YQg0pO/ztWG4s8yuV+tnKJ78HSdayfwtjG5bzxPr+/CWHKWFci5mMAhqSRK8yd6
10 | rK9omIWFEF7owGp77wPA9sZyp2xl+yhqu5JAEWgIXkB5UADvq+SSK+P82245L1NB
11 | 1xuf2lHigtbIVH3unqBf7JcOAfkNBRQIzfsW3DKvVCFISNaItkNOAgR6+ZcCAwEA
12 | AaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAUOXHZeg1
13 | BDKMHNsnDwgf0l2d/Jn6CQkibLWOKe50lgRxQIxjWtO+J+QHey3fbLZtc+DIW6yk
14 | lCBonhe2xsSbDLazipMJtEbvRUO821itC4rIup+5aihG7d6d5EMxGouLNJUjBRJ1
15 | V27RXMZLA6OBglZVePuEerg9AJaZy+KaqTC/CLMDjeVuK0LtA/A9pFSAUE7w9Z3z
16 | rRHl2k8asb8whuhUDre0gCMXuWsdsrQDvt4k3U/CYTVgCx6sPw2HyyyhMaJTeJbI
17 | OHWMORryF4aQo/3Tef8hgwOK40/73slN3Qi5r5m6DJ6a2ExScTbXhfnnCQ/zoi8N
18 | 6trs2iyGzLdeRg==
19 | -----END CERTIFICATE-----
20 |
--------------------------------------------------------------------------------
/deploy/db/client-cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIDBzCCAe+gAwIBAgIBAzANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
3 | TF9TZXJ2ZXJfOC4wLjMyX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
4 | DTIzMTAwNjA0MDU0OFoXDTMzMTAwMzA0MDU0OFowQDE+MDwGA1UEAww1TXlTUUxf
5 | U2VydmVyXzguMC4zMl9BdXRvX0dlbmVyYXRlZF9DbGllbnRfQ2VydGlmaWNhdGUw
6 | ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpq7ZGuEmZSPwDVXTSKwxX
7 | EDVsK7EM4g0qJAMdAYnvILr3wbcJ8Wdx1x30xIyZvujW841rYKOzy+LRHqlKzGsG
8 | f2PXEJjwrHD8uNZNL+j/RIDIzjL0yWk3UHZpxEgukDig9PkuLBmAkla6a4TXNmKy
9 | LSJiWxuYuQDSDcGdH9dWGoaB1QG6xDu1NsQub2dzOEweZ4Ku2vzG8DjB7RE0i536
10 | n7yqR2Xx6SjDJRF7DsYI+EON9Cyt/oLDguYp2DzW2oScTtHcLn2aBoIQY1JbnDkB
11 | vUt0RbTChwtRt0FF3x6KnE5aICOB8UNiXsvrArTZ5wHTNj3/0tIN+b+djxXdiF+j
12 | AgMBAAGjEDAOMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggEBAG+VuE2z
13 | h3ArsqgIrj8DCFFT8Tw8IyHj8WPtRqV2eRXiJIRBJCU4kyudTHNvffZw2LBxMOxT
14 | jnlBYMOOKhvH0Pf8yoNDy2jgw8BLM0Tsu3AYl/CG4zoyD9vVfHAUtSZq9Bil1dGH
15 | wHSOKeCbhOUYWetjQ0IeFobA7MAPjbpEfc9vUP3TfG3Y0AWoybljS38++BrRoiVw
16 | 1FAod7sKfyWQ0NZs2U6ZyZIzEtoyB89AJWgcDQnJV0MKpUiMGHeABOtLK4B/K5KK
17 | eKzE3bbwiD+mLJs3cEXGvgKQiycLiFGcJdd7YBuHGW4E/w3AhNlhUCq1jT7qk/hu
18 | 7SoXWjfPoqmZ1uE=
19 | -----END CERTIFICATE-----
20 |
--------------------------------------------------------------------------------
/deploy/db/client-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIIEpAIBAAKCAQEA6au2RrhJmUj8A1V00isMVxA1bCuxDOINKiQDHQGJ7yC698G3
3 | CfFncdcd9MSMmb7o1vONa2Cjs8vi0R6pSsxrBn9j1xCY8Kxw/LjWTS/o/0SAyM4y
4 | 9MlpN1B2acRILpA4oPT5LiwZgJJWumuE1zZisi0iYlsbmLkA0g3BnR/XVhqGgdUB
5 | usQ7tTbELm9nczhMHmeCrtr8xvA4we0RNIud+p+8qkdl8ekowyURew7GCPhDjfQs
6 | rf6Cw4LmKdg81tqEnE7R3C59mgaCEGNSW5w5Ab1LdEW0wocLUbdBRd8eipxOWiAj
7 | gfFDYl7L6wK02ecB0zY9/9LSDfm/nY8V3YhfowIDAQABAoIBABW5difbCFSs+Wkh
8 | 78t+XxZVFnJpGXvWJF0vne57bySBSYCxTOAqxnBKDKnuABhnLGSXniVGhdG4eezx
9 | SdH/cU/YViLvkxiFH7gPQzVH6ASbjNGeghRKCXMwEuJAcmmJ1Qn53JTTWseeU1vf
10 | lSkhEEn6ckDssYMgaBgfWUnPZQjHHw6hXBpqOijHWCELr8t/iRejW3JX1JY5rgcS
11 | go8EK9BEI7b8MwjvJG8gB4WblAbS6fT3zR7Z5dRB0Dqfof+9NmZIrh7mFUqV+YQU
12 | KJqMeZY+/YTAM0hHQR379A4KaNLqIvYPJFth6BMlLWzqXevPdax9bjHxMm7PUuMi
13 | wlO2oWECgYEA+mI0+s0Cavuu8wK7FqPs+9uulvmyhjcq9p3xjZa75pABYkBlt38r
14 | bTiYJFiCNdfr+HwRyqfGQvrKgh9UCiyoFyBLs1IgDUhpf8E63m/rGKlGdlKW/uy1
15 | ReESpueNXo9kwtS1B0u2quDTL5FJ5Y4KT7dy/8kySBKTJ7dnM9PQafECgYEA7umI
16 | ors9nFTMY99JOZwFgEbnrirqaMc4PnQgFUMHBBOFxmNUrUQjen12101bzHeCqO/y
17 | LU895IUh6cIA6mH2rQhspSHkP0z6/kYDKA2YVOBm4GcPznppzvetd3Qwmv5+7zcu
18 | bCUo2JPPvFzBeMd0mmny8ZqF+DAurvz8Kt9z7tMCgYEAoHP625YxLHnpXVWsqw+V
19 | uLjJI3sUiqoj4DLLLx8ffttd56a5CGR4Yd/Yr8IAf5zFXVG03RezGA07ZTPKWVLQ
20 | zTEnEd1ZKOn0oagkn5M9J2qi+wRmOytZ51Qa7daJY8Wknq5M7EX643p8G4mRv4fM
21 | 19UJ3x0CGem9X8BKZI4iiyECgYAhi6TlxIioFLgGJenwLtoO4uXQ7LGxOJfLHR8M
22 | HTc0+VDFRFk1YuXgYxF2taP4F6e+9MH6XrAAEDlsyxK51jt+nDo1DYcw5Cwx277B
23 | tvb2o/ON+qqbgVCuANTYevYALU/BYuwfvy/3CPoYJqX7wXW74Lh9+AZrjMhhRaBa
24 | nLl4hQKBgQDuOzZd95rvlRW64C+8QfYHRbqwjIUVgUCO9zyMZuCaz5wOOAh75qsc
25 | VhQDPLsqH54yydkvVfUvAAKod/Npjw0gi7fl/CEDv5IH9fhR70wM4TjRwv1s+5Hr
26 | lXMHG2N9IourPBKSskr5w9csGoDBnuBtF50kbtKZvMa5m5Nvde++rg==
27 | -----END RSA PRIVATE KEY-----
28 |
--------------------------------------------------------------------------------
/deploy/db/ibdata1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/ibdata1
--------------------------------------------------------------------------------
/deploy/db/ibtmp1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/ibtmp1
--------------------------------------------------------------------------------
/deploy/db/jbook/notebook_notes.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/jbook/notebook_notes.ibd
--------------------------------------------------------------------------------
/deploy/db/jbook/notebooks.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/jbook/notebooks.ibd
--------------------------------------------------------------------------------
/deploy/db/jbook/notes.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/jbook/notes.ibd
--------------------------------------------------------------------------------
/deploy/db/jbook/users.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/jbook/users.ibd
--------------------------------------------------------------------------------
/deploy/db/mysql.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/mysql.ibd
--------------------------------------------------------------------------------
/deploy/db/mysql.sock:
--------------------------------------------------------------------------------
1 | /var/run/mysqld/mysqld.sock
--------------------------------------------------------------------------------
/deploy/db/mysql/general_log.CSM:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/mysql/general_log.CSM
--------------------------------------------------------------------------------
/deploy/db/mysql/general_log.CSV:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/mysql/general_log.CSV
--------------------------------------------------------------------------------
/deploy/db/mysql/general_log_213.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"general_log","mysql_version_id":80032,"created":20231006040548,"last_altered":20231006040548,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"event_time","type":18,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":26,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":6,"datetime_precision_null":0,"has_no_default":false,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAA==","default_value_utf8_null":false,"default_value_utf8":"CURRENT_TIMESTAMP(6)","default_option":"CURRENT_TIMESTAMP(6)","update_option":"CURRENT_TIMESTAMP(6)","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"timestamp(6)","elements":[],"collation_id":8,"is_explicit_collation":false},{"name":"user_host","type":25,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":16777215,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"mediumtext","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"thread_id","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"server_id","type":4,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":10,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"int unsigned","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"command_type","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":192,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(64)","elements":[],"collation_id":33,"is_explicit_collation":false},{"name":"argument","type":25,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":6,"char_length":16777215,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"mediumblob","elements":[],"collation_id":63,"is_explicit_collation":true}],"schema_ref":"mysql","se_private_id":18446744073709551615,"engine":"CSV","last_checked_for_upgrade_version_id":0,"comment":"General log","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":33}}
--------------------------------------------------------------------------------
/deploy/db/mysql/slow_log.CSM:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/mysql/slow_log.CSM
--------------------------------------------------------------------------------
/deploy/db/mysql/slow_log.CSV:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/mysql/slow_log.CSV
--------------------------------------------------------------------------------
/deploy/db/performance_schema/accounts_145.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"accounts","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"USER","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"char(32)","elements":[],"collation_id":46,"is_explicit_collation":true},{"name":"HOST","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":255,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(255)","elements":[],"collation_id":11,"is_explicit_collation":true},{"name":"CURRENT_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"TOTAL_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_CONTROLLED_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_TOTAL_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":6,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"ACCOUNT","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":128,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":255,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/cond_instances_82.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"cond_instances","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":512,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"varchar(128)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"OBJECT_INSTANCE_BEGIN","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":1}]},{"name":"NAME","hidden":false,"is_generated":false,"ordinal_position":2,"comment":"","options":"flags=0;","se_private_data":"","type":3,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":512,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/events_statement_129.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"events_statements_histogram_global","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"BUCKET_NUMBER","type":4,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":10,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"int unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"BUCKET_TIMER_LOW","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"BUCKET_TIMER_HIGH","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"COUNT_BUCKET","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"COUNT_BUCKET_AND_LOWER","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"BUCKET_QUANTILE","type":6,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":6,"char_length":7,"numeric_precision":7,"numeric_scale":6,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"double(7,6)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":4,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/global_status_181.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"global_status","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/global_variables_184.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"global_variables","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/hosts_146.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"hosts","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"HOST","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":255,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":3,"column_type_utf8":"char(255)","elements":[],"collation_id":11,"is_explicit_collation":true},{"name":"CURRENT_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"TOTAL_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_CONTROLLED_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_TOTAL_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"HOST","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":255,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/keyring_keys_152.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"keyring_keys","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"KEY_ID","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":1020,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(255)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"KEY_OWNER","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":1020,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(255)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"BACKEND_KEY_ID","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":1020,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(255)","elements":[],"collation_id":46,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":46}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/log_status_174.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"log_status","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"SERVER_UUID","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":144,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(36)","elements":[],"collation_id":46,"is_explicit_collation":true},{"name":"LOCAL","type":31,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"json","elements":[],"collation_id":63,"is_explicit_collation":true},{"name":"REPLICATION","type":31,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"json","elements":[],"collation_id":63,"is_explicit_collation":true},{"name":"STORAGE_ENGINES","type":31,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"json","elements":[],"collation_id":63,"is_explicit_collation":true}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/mutex_instances_97.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"mutex_instances","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":512,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"varchar(128)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"OBJECT_INSTANCE_BEGIN","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"LOCKED_BY_THREAD_ID","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":1}]},{"name":"NAME","hidden":false,"is_generated":false,"ordinal_position":2,"comment":"","options":"flags=0;","se_private_data":"","type":3,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":512,"order":1,"hidden":false,"column_opx":0}]},{"name":"LOCKED_BY_THREAD_ID","hidden":false,"is_generated":false,"ordinal_position":3,"comment":"","options":"flags=0;","se_private_data":"","type":3,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":2}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/performance_time_99.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"performance_timers","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"TIMER_NAME","type":22,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":44,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AQ==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=5;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"enum('CYCLE','NANOSECOND','MICROSECOND','MILLISECOND','THREAD_CPU')","elements":[{"name":"Q1lDTEU=","index":1},{"name":"TkFOT1NFQ09ORA==","index":2},{"name":"TUlDUk9TRUNPTkQ=","index":3},{"name":"TUlMTElTRUNPTkQ=","index":4},{"name":"VEhSRUFEX0NQVQ==","index":5}],"collation_id":255,"is_explicit_collation":false},{"name":"TIMER_FREQUENCY","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"TIMER_RESOLUTION","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"TIMER_OVERHEAD","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/persisted_variab_187.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"persisted_variables","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/replication_appl_166.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"replication_applier_status","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"CHANNEL_NAME","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgIA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"char(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"SERVICE_STATE","type":22,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":12,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AQ==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=2;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"enum('ON','OFF')","elements":[{"name":"T04=","index":1},{"name":"T0ZG","index":2}],"collation_id":255,"is_explicit_collation":false},{"name":"REMAINING_DELAY","type":4,"is_nullable":true,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":10,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"int unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"COUNT_TRANSACTIONS_RETRIES","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/replication_appl_171.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"replication_applier_global_filters","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"FILTER_NAME","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgIA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"FILTER_RULE","type":26,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"longtext","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"CONFIGURED_BY","type":22,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":100,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AQ==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=2;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"enum('STARTUP_OPTIONS','CHANGE_REPLICATION_FILTER')","elements":[{"name":"U1RBUlRVUF9PUFRJT05T","index":1},{"name":"Q0hBTkdFX1JFUExJQ0FUSU9OX0ZJTFRFUg==","index":2}],"collation_id":255,"is_explicit_collation":false},{"name":"ACTIVE_SINCE","type":18,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":26,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":6,"datetime_precision_null":0,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"timestamp(6)","elements":[],"collation_id":8,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/replication_asyn_173.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"replication_asynchronous_connection_failover_managed","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"CHANNEL_NAME","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":192,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAg","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"The replication channel name that connects source and replica.","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(64)","elements":[],"collation_id":33,"is_explicit_collation":true},{"name":"MANAGED_NAME","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":192,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAg","default_value_utf8_null":false,"default_value_utf8":"","default_option":"","update_option":"","comment":"The name of the source which needs to be managed.","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(64)","elements":[],"collation_id":33,"is_explicit_collation":true},{"name":"MANAGED_TYPE","type":29,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":192,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg\nICAgICAgICAgICAgICAgICAgICAg","default_value_utf8_null":false,"default_value_utf8":"","default_option":"","update_option":"","comment":"Determines the managed type.","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(64)","elements":[],"collation_id":33,"is_explicit_collation":true},{"name":"CONFIGURATION","type":31,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"The data to help manage group. For Managed_type = GroupReplication, Configuration value should contain {\"Primary_weight\": 80, \"Secondary_weight\": 60}, so that it assigns weight=80 to PRIMARY of the group, and weight=60 for rest of the members in mysql.replication_asynchronous_connection_failover table.","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"json","elements":[],"collation_id":63,"is_explicit_collation":true}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/rwlock_instances_101.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"rwlock_instances","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":512,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"varchar(128)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"OBJECT_INSTANCE_BEGIN","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"WRITE_LOCKED_BY_THREAD_ID","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"READ_LOCKED_BY_COUNT","type":4,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":10,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAA==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"int unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":1}]},{"name":"NAME","hidden":false,"is_generated":false,"ordinal_position":2,"comment":"","options":"flags=0;","se_private_data":"","type":3,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":512,"order":1,"hidden":false,"column_opx":0}]},{"name":"WRITE_LOCKED_BY_THREAD_ID","hidden":false,"is_generated":false,"ordinal_position":3,"comment":"","options":"flags=0;","se_private_data":"","type":3,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":2}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/session_account__151.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"session_account_connect_attrs","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"PROCESSLIST_ID","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ATTR_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(32)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ATTR_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ORDINAL_POSITION","type":4,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":11,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"int","elements":[],"collation_id":46,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":128,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":46}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/session_connect__150.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"session_connect_attrs","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"PROCESSLIST_ID","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ATTR_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(32)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ATTR_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":46,"is_explicit_collation":false},{"name":"ORDINAL_POSITION","type":4,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":11,"numeric_precision":10,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"int","elements":[],"collation_id":46,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":128,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":46}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/session_status_182.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"session_status","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/session_variable_185.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"session_variables","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/setup_consumers_103.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"setup_consumers","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"ENABLED","type":22,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":12,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AQ==","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=2;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"enum('YES','NO')","elements":[{"name":"WUVT","index":1},{"name":"Tk8=","index":2}],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/status_by_accoun_177.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"status_by_account","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"USER","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"char(32)","elements":[],"collation_id":46,"is_explicit_collation":true},{"name":"HOST","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":255,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"char(255)","elements":[],"collation_id":11,"is_explicit_collation":true},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"ACCOUNT","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":128,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":255,"order":1,"hidden":false,"column_opx":1},{"ordinal_position":3,"length":256,"order":1,"hidden":false,"column_opx":2}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/status_by_host_178.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"status_by_host","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"HOST","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":255,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"char(255)","elements":[],"collation_id":11,"is_explicit_collation":true},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"HOST","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":255,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":256,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/status_by_thread_179.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"status_by_thread","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"THREAD_ID","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":256,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/status_by_user_180.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"status_by_user","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"USER","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":4,"column_type_utf8":"char(32)","elements":[],"collation_id":46,"is_explicit_collation":true},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"USER","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":128,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":256,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/user_defined_fun_188.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"user_defined_functions","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"UDF_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"UDF_RETURN_TYPE","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":80,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(20)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"UDF_TYPE","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":80,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(20)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"UDF_LIBRARY","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"UDF_USAGE_COUNT","type":9,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":256,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/user_variables_b_176.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"user_variables_by_thread","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"THREAD_ID","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":26,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4294967295,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"longblob","elements":[],"collation_id":63,"is_explicit_collation":true}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":256,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/users_144.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"users","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"USER","type":29,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":128,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":3,"column_type_utf8":"char(32)","elements":[],"collation_id":46,"is_explicit_collation":true},{"name":"CURRENT_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"TOTAL_CONNECTIONS","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":20,"numeric_precision":19,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_CONTROLLED_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":4,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"MAX_SESSION_TOTAL_MEMORY","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":5,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":1,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"USER","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":2,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":128,"order":1,"hidden":false,"column_opx":0}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/performance_schema/variables_by_thr_183.sdi:
--------------------------------------------------------------------------------
1 | {"mysqld_version_id":80032,"dd_version":80023,"sdi_version":80019,"dd_object_type":"Table","dd_object":{"name":"variables_by_thread","mysql_version_id":80032,"created":20231006040546,"last_altered":20231006040546,"hidden":1,"options":"avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;server_p_s_table=1;stats_auto_recalc=0;stats_sample_pages=0;","columns":[{"name":"THREAD_ID","type":9,"is_nullable":false,"is_zerofill":false,"is_unsigned":true,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":1,"char_length":20,"numeric_precision":20,"numeric_scale":0,"numeric_scale_null":false,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAA=","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"bigint unsigned","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_NAME","type":16,"is_nullable":false,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":2,"char_length":256,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":true,"default_value_null":false,"srs_id_null":true,"srs_id":0,"default_value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":2,"column_type_utf8":"varchar(64)","elements":[],"collation_id":255,"is_explicit_collation":false},{"name":"VARIABLE_VALUE","type":16,"is_nullable":true,"is_zerofill":false,"is_unsigned":false,"is_auto_increment":false,"is_virtual":false,"hidden":1,"ordinal_position":3,"char_length":4096,"numeric_precision":0,"numeric_scale":0,"numeric_scale_null":true,"datetime_precision":0,"datetime_precision_null":1,"has_no_default":false,"default_value_null":true,"srs_id_null":true,"srs_id":0,"default_value":"","default_value_utf8_null":true,"default_value_utf8":"","default_option":"","update_option":"","comment":"","generation_expression":"","generation_expression_utf8":"","options":"interval_count=0;","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","column_key":1,"column_type_utf8":"varchar(1024)","elements":[],"collation_id":255,"is_explicit_collation":false}],"schema_ref":"performance_schema","se_private_id":18446744073709551615,"engine":"PERFORMANCE_SCHEMA","last_checked_for_upgrade_version_id":0,"comment":"","se_private_data":"","engine_attribute":"","secondary_engine_attribute":"","row_format":2,"partition_type":0,"partition_expression":"","partition_expression_utf8":"","default_partitioning":0,"subpartition_type":0,"subpartition_expression":"","subpartition_expression_utf8":"","default_subpartitioning":0,"indexes":[{"name":"PRIMARY","hidden":false,"is_generated":false,"ordinal_position":1,"comment":"","options":"flags=0;","se_private_data":"","type":1,"algorithm":4,"is_algorithm_explicit":false,"is_visible":true,"engine":"PERFORMANCE_SCHEMA","engine_attribute":"","secondary_engine_attribute":"","elements":[{"ordinal_position":1,"length":8,"order":1,"hidden":false,"column_opx":0},{"ordinal_position":2,"length":256,"order":1,"hidden":false,"column_opx":1}]}],"foreign_keys":[],"check_constraints":[],"partitions":[],"collation_id":255}}
--------------------------------------------------------------------------------
/deploy/db/private_key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIIEpQIBAAKCAQEA3b/2MdMTqP0Qtm8jn1nVbTAgXkdhMXNlTue6BAvDXusdpkjE
3 | RqP30YwXI0HOgdyqIyfY2qupbzD6kQ3tmB5EE1hdfCjnI7E5HK5d9Mt2qvwvF4aw
4 | lOpL3ApzsIEa3cuUuhq5hFG0D5xFdLlF973BJ8sy4bZ5APIxm9Vm9uvhjOhsHsx3
5 | /5HnJu6ossGlbb7+WaX36LKxNAeqymgqvY142m5se3KS8AfEqXsgW/vjF7HuPANc
6 | P9jzVbuYY0r6U1v5XsdKDgKOksSiBppvY0bf7DLyINMO6scQgkekeXLy/JkNz7vc
7 | QvmEExXVOnpvhxss7fuhcg1kf0Jpln38F2O32wIDAQABAoIBAQDKJvKor1Uv7Cwt
8 | NBpUbc/cb1BCwm2/aASGL0fr4lFkGZD5A0MzZs1H0Z9SO+6ngmP0EqJljrKytALo
9 | 87qSv5ytyhPHWX6Fkk2PcQIkZMu0ypufpeEakJFBcqHO2ZOFeM8H7c8L6nPs+zhy
10 | VWiMlgcdYOfszq13CFPjTWNFXPpMue8nwD/+oUwxx3KKJsHzjqov3QD/cZIPtoNk
11 | 3WSTe3LHZeFGzaDkI+IC+TDZHeJrW8TgCMlTuENbAhOoTgmW4bIpsVsMQDzQzM1z
12 | HDozM95NsgUnpzx2SCOYWOhUpwsku4Jb+ZruLYc7HRNq/pWw0E1vB73/lnDeIQ1B
13 | +6w5JWMpAoGBAPUr4MSke2gBVsbDJg/jpAgu1KWuGsmL2UVuppoY9waTh9o8cUdl
14 | jCAq7Gpm5uTNtoA9zyQUs30Mi9RNvPdYMUrDxTOHPr4Pd2kvGX4XGoWz4ceITx/2
15 | Tn5EzYMr1I+CnBr9uU6UU8gYyI8KV3dFew6kXuWOLrbpfSPwNHb4AEA3AoGBAOeL
16 | QlvrS078CBFfDC1rfdPhtmmrZh78gmrqDsxMKjNhQQ5x1BHLbgmUW6lYe9Yudr9X
17 | nAGTuHRW4iwrudre6B/27NTytDrpGEbrAoQUFpQrqHv4pRkOUsd2/abIhkdIcYs+
18 | hTZuIMbucbx3rUl1FSQ7yMCbOfcmUA2lZFaSjgt9AoGBALca6Cm09n280kRsJxci
19 | 2rVJ1INQvqzcB481jrP0BToiIQo6rhe2narApATriXJEuRKaFwRJeavhHOWYkZLh
20 | iR7fi35qec+U2YfzJ0TmmGZW7D8LbJzgZcskM6DNsVjlIRV/fVBUsyX0bIV4Ic7w
21 | U3GiDUXApN7zDwUyNtzLZ9SNAoGAKMc32qRn0PNGIHkS1fT2Zhh8XcPX6mEiPt4V
22 | 2RkY3Y+lO3wEk1W2fW1pbzusI55vP2eYjBaOB789efYBd3CGhQqhzycnYrCmm+bL
23 | vKMlDtdZhuvVd8I0BfkI1xS9wVQa2yEZqOpgT2izEzQoiqVaIdV9l54+6S4QLzcP
24 | oseQyKkCgYEAwViJayp0Ln6nOi/TRob1Tf+9EA0g8CLu9dms42USRSErw2ieyrcJ
25 | VblRWTlc23lZPL65NJQTHpY7Zfy+0rBS+nG3f5bhD/zmu38zbjba2jekjKz1mdR6
26 | W5ZO4rPONZU4miGKJVkGDY73b8mIRRYH2U8Hf/FuyHGzHTDFI4/6IiM=
27 | -----END RSA PRIVATE KEY-----
28 |
--------------------------------------------------------------------------------
/deploy/db/public_key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3b/2MdMTqP0Qtm8jn1nV
3 | bTAgXkdhMXNlTue6BAvDXusdpkjERqP30YwXI0HOgdyqIyfY2qupbzD6kQ3tmB5E
4 | E1hdfCjnI7E5HK5d9Mt2qvwvF4awlOpL3ApzsIEa3cuUuhq5hFG0D5xFdLlF973B
5 | J8sy4bZ5APIxm9Vm9uvhjOhsHsx3/5HnJu6ossGlbb7+WaX36LKxNAeqymgqvY14
6 | 2m5se3KS8AfEqXsgW/vjF7HuPANcP9jzVbuYY0r6U1v5XsdKDgKOksSiBppvY0bf
7 | 7DLyINMO6scQgkekeXLy/JkNz7vcQvmEExXVOnpvhxss7fuhcg1kf0Jpln38F2O3
8 | 2wIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/deploy/db/server-cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIDBzCCAe+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
3 | TF9TZXJ2ZXJfOC4wLjMyX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
4 | DTIzMTAwNjA0MDU0OFoXDTMzMTAwMzA0MDU0OFowQDE+MDwGA1UEAww1TXlTUUxf
5 | U2VydmVyXzguMC4zMl9BdXRvX0dlbmVyYXRlZF9TZXJ2ZXJfQ2VydGlmaWNhdGUw
6 | ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCmVpYsElygB6EYh3nlZcNi
7 | ImqKk2EWPPRSpqE/hJSEzfr7sI+/k/IFgELnNdznnq0CW7X9xtBeqwdklT3hxEHt
8 | d3SlVJHkRBAtDzs92/kdoUxMaiGj4zZmHD9vsBgDqDXBCScn0OxfwyjmCLjJnHl6
9 | Lxdn23XnARiD/Hi2BZqLNQfelc02k8URAIyAYxipQB5uPILCW28POrL7VGBTVqOE
10 | vJ18xtpml7zgm+jOl7PvaIUfJwqgoZmex0W7mc3fIsmdEovof1Hhl14/qeuf1Fi4
11 | 3gU90LCpC+MZlnACU/Kpqn5AseMeQNFKblszrhRg4Q05BnHQJR+gV7UHLpwoR6FJ
12 | AgMBAAGjEDAOMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggEBAN+ZdEOj
13 | AB9aURz5EpzlDGYP/hxQrg+V3PrvUFmdzgJqNNzHzzZok9B/vCoGhwN0nIoU1ArS
14 | ttSBt4nAlR1k8bO+z4ymE3ly3tUKJ89PUlzbIAqFJ8raCGwjQrAbCL4qxjMNBZPA
15 | dpYTrHWCFr0AsD2oMIENETtYCi0+yR/e6UOkTq+nR6/+XUu7/RXTpZ1f87AvIKQF
16 | y1pl5h4o6Gjvgvpc4B8oMzT1D/AXoZ4oH+9ItTqyeV4D8iTpUoNRIAnh/OmhHc9I
17 | cHiBH5Fx7nieSHaMROL70uyoa9fu6eExzpOcsQ0S3Yu3RHS2hqbt0qX6+8i/UIgw
18 | 5Lw+VmW+FR1vOtg=
19 | -----END CERTIFICATE-----
20 |
--------------------------------------------------------------------------------
/deploy/db/server-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIIEowIBAAKCAQEAplaWLBJcoAehGId55WXDYiJqipNhFjz0UqahP4SUhM36+7CP
3 | v5PyBYBC5zXc556tAlu1/cbQXqsHZJU94cRB7Xd0pVSR5EQQLQ87Pdv5HaFMTGoh
4 | o+M2Zhw/b7AYA6g1wQknJ9DsX8Mo5gi4yZx5ei8XZ9t15wEYg/x4tgWaizUH3pXN
5 | NpPFEQCMgGMYqUAebjyCwltvDzqy+1RgU1ajhLydfMbaZpe84Jvozpez72iFHycK
6 | oKGZnsdFu5nN3yLJnRKL6H9R4ZdeP6nrn9RYuN4FPdCwqQvjGZZwAlPyqap+QLHj
7 | HkDRSm5bM64UYOENOQZx0CUfoFe1By6cKEehSQIDAQABAoIBAEjzusMzfmo1TmMa
8 | r8x7WDjHDWEfiDofm6xQJnJcLGMej9ApPLJyKXheK3mKNwtinVBmdqgJtUN/0Ss9
9 | BTnqQFvswzzrnVy2uT1566qSumxTXMo61ewx757TDsNmQPIBqSmzYPfmenT5fAt/
10 | kcPim6iJ1MMZDlm1MlJYvXxfcstQTq7UiPzfF7nH8uOVgam2cB0UFFo7kuLiT+s0
11 | klkMYTmUAwNI+7s6Lx6id7tUBWTTth1+HYCf50hpiD5lYBP4iHueiLkw6jPullpo
12 | spnIRLrNb0w/ypbifxUXpCbnBWMdAK9Xg2CPU4GAA7vigFawmvZukxGunavm9o2+
13 | 2X6Iu40CgYEA1s6UkJFWP9XF0IDKCfnUqujQUNsKklsTZHAMFIAEjO9kUus99vSJ
14 | Mc9kr8vn3fN1CVWbRwaSsuQu1n7Bl3PKq6OgGIIPjyZLWzAIO3kcaTAumhIqAko4
15 | zL6UOPxfFES6IZBmQjeZI0AZrUT27J2eP99ajjBCzrwvdv7QjproPucCgYEAxjyN
16 | pA4vYWbNkfR2EgOqYuET77myhWFSOFy7iqWCCdjxeB0gZ+2XSCnBwFsRhCAw108P
17 | vanYiWdSN/bntKg91HVqrmY8JNaY5j1W4dYf5Zo/VpBLP470YVNHvvVl09bAdvEm
18 | oiNq+znMQZgyCVqsFtQmKYnVld4aoQyMw/aTCE8CgYEAsL84RSAhTNM0OlTOaZj0
19 | 4VBBoFYrg7OG6Fy9w9x2YhTUgtnnmZ0qih6xJWltNxaM1YpoAvAooyPYWkvgNSNk
20 | vwgawi+6Z7pFxRlnnLARrYekwMdzY4D47Zde1Ojrvvyx/s4XJiMjUXr75bNaTeV/
21 | geThWR/iyMLVd19B8iUKNj8CgYBwWzfIiUWvhg3zsMQO98bl3j5nfC/Dy2JHkb+2
22 | GJK4tB5Afvm0DgTVoN0xAizOX1RvZF8+l3qkfkwqbiXrzgOlXJuHl2h1VLA6pv+M
23 | ZsmTYDaQAJ61unemhgY/JGV/iNNzVsEX2s0y8RJlBzcs+BhbpAixOG83Tzh2mV9b
24 | XnD9nwKBgA/K57n3H8HmQc4NyyiT2FM34AIDVfsI1Aw/P6PiBnyXkBZKtb09FA17
25 | RdhoEUBRnIX3eLukNWynPht6fMzAiA0E162vVG/78bKP7osM8sCy8kbMFDlnZDcW
26 | FYn+0zrpf6h+Kqn9adNfQafP1Y/bM1Q3WOMGgYlCNrAzPvDwM1Aa
27 | -----END RSA PRIVATE KEY-----
28 |
--------------------------------------------------------------------------------
/deploy/db/sys/sys_config.ibd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/sys/sys_config.ibd
--------------------------------------------------------------------------------
/deploy/db/undo_001:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/undo_001
--------------------------------------------------------------------------------
/deploy/db/undo_002:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/deploy/db/undo_002
--------------------------------------------------------------------------------
/deploy/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.8'
2 | services:
3 | mysql:
4 | image: mysql:8.0
5 | container_name: mysql
6 | restart: always
7 | environment:
8 | MYSQL_ROOT_PASSWORD: 123456
9 | ports:
10 | - "3306:3306"
11 | volumes:
12 | - ./db:/var/lib/mysql
13 |
--------------------------------------------------------------------------------
/jbook.sql:
--------------------------------------------------------------------------------
1 |
2 | DROP TABLE IF EXISTS `notebook_notes`;
3 | CREATE TABLE `notebook_notes` (
4 | `id` int unsigned NOT NULL AUTO_INCREMENT,
5 | `notebook_id` int NOT NULL DEFAULT '0' COMMENT '文集id',
6 | `note_id` int NOT NULL DEFAULT '0' COMMENT '文章id',
7 | `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
8 | `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
9 | PRIMARY KEY (`id`) USING BTREE
10 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
11 |
12 |
13 | DROP TABLE IF EXISTS `notebooks`;
14 | CREATE TABLE `notebooks` (
15 | `id` int unsigned NOT NULL AUTO_INCREMENT,
16 | `uid` int unsigned NOT NULL DEFAULT '0' COMMENT '关联用户id',
17 | `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '文集名称',
18 | `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
19 | `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
20 | PRIMARY KEY (`id`) USING BTREE
21 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
22 |
23 |
24 | DROP TABLE IF EXISTS `notes`;
25 | CREATE TABLE `notes` (
26 | `id` int unsigned NOT NULL AUTO_INCREMENT,
27 | `uid` int unsigned NOT NULL DEFAULT '0' COMMENT '关联用户id',
28 | `title` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '文章名',
29 | `content_md` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '文章内容',
30 | `state` tinyint NOT NULL,
31 | `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
32 | `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
33 | PRIMARY KEY (`id`) USING BTREE
34 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
35 |
36 |
37 | DROP TABLE IF EXISTS `users`;
38 | CREATE TABLE `users` (
39 | `id` int unsigned NOT NULL AUTO_INCREMENT,
40 | `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '头像',
41 | `nickname` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '昵称',
42 | `phone` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '手机号',
43 | `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码',
44 | `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
45 | `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
46 | PRIMARY KEY (`id`) USING BTREE
47 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
48 |
49 |
--------------------------------------------------------------------------------
/middleware/auth.ts:
--------------------------------------------------------------------------------
1 | export default defineNuxtRouteMiddleware((to, from) => {
2 | //判断用户是否登录
3 | let user = true
4 | if (!user){
5 | return navigateTo('/login')
6 | }
7 | })
8 |
--------------------------------------------------------------------------------
/nuxt.config.js:
--------------------------------------------------------------------------------
1 | // https://nuxt.com/docs/api/configuration/nuxt-config
2 | import Components from 'unplugin-vue-components/vite'
3 | import {
4 | AntDesignVueResolver
5 | } from 'unplugin-vue-components/resolvers'
6 | import Icons from 'unplugin-icons/vite'
7 | import IconsResolver from 'unplugin-icons/resolver'
8 |
9 | export default defineNuxtConfig({
10 | runtimeConfig:{
11 | //私密
12 | SecretId:process.env.SECRET_ID,
13 | SecretKey:process.env.SECRET_KEY,
14 | DB_HOST:process.env.DB_HOST,
15 | DB_USER:process.env.DB_USER,
16 | DB_DATABASE:process.env.DB_DATABASE,
17 | DB_PASSWORD:process.env.DB_PASSWORD,
18 | public:{
19 | //公开
20 | BUCKET: process.env.BUCKET,
21 | REGION: process.env.REGION,
22 | }
23 | },
24 | modules:['@pinia/nuxt','@pinia-plugin-persistedstate/nuxt'],
25 | vite: {
26 | esbuild : {
27 | drop: process.env.NODE_ENV === 'production' ? ['console','debugger'] :[]
28 | },
29 | build :{
30 | minify: 'esbuild',
31 | chunkSizeWarningLimit: 500,
32 | cssCodeSplit: true
33 | },
34 | plugins: [
35 | Components({
36 | resolvers: [
37 | AntDesignVueResolver({
38 | importStyle:'less'
39 | }),
40 | IconsResolver({
41 | prefix:'i',
42 | enabledCollections:['ep','ant-design','mdi','ph','ion']
43 | })
44 | ],
45 |
46 | }),
47 | Icons({
48 | autoInstall: true
49 | })
50 |
51 | ],
52 | css: {
53 | preprocessorOptions: {
54 | less: {
55 | modifyVars: {
56 | 'primary-color': '#ea6f5a',
57 | },
58 | javascriptEnabled: true,
59 | }
60 | }
61 | },
62 | ssr:{
63 | noExternal:['ant-design-vue']
64 | }
65 | }
66 | })
67 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "build": "source .env.production && nuxt build",
5 | "dev": "nuxt dev --dotenv .env.local",
6 | "generate": "nuxt generate",
7 | "preview": "nuxt preview",
8 | "postinstall": "nuxt prepare"
9 | },
10 | "devDependencies": {
11 | "nuxt": "^3.7.4"
12 | },
13 | "dependencies": {
14 | "@bytemd/plugin-gfm": "^1.21.0",
15 | "@bytemd/plugin-highlight": "^1.21.0",
16 | "@bytemd/vue-next": "^1.21.0",
17 | "@iconify/json": "^2.2.44",
18 | "@pinia-plugin-persistedstate/nuxt": "^1.1.1",
19 | "@pinia/nuxt": "^0.4.7",
20 | "ant-design-vue": "^3.2.15",
21 | "cos-js-sdk-v5": "^1.4.16",
22 | "cos-nodejs-sdk-v5": "^2.11.19",
23 | "joi": "^17.11.0",
24 | "jsonwebtoken": "^9.0.0",
25 | "less": "^4.1.3",
26 | "md5": "^2.3.0",
27 | "moment": "^2.29.4",
28 | "mysql2": "^3.2.0",
29 | "pinia": "^2.0.33",
30 | "qcloud-cos-sts": "^3.1.0",
31 | "sass": "^1.60.0",
32 | "unplugin-icons": "^0.16.1",
33 | "unplugin-vue-components": "^0.24.1",
34 | "uuid": "^9.0.0"
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/pages/about.vue:
--------------------------------------------------------------------------------
1 |
2 | about
3 | {{route.query}}
4 |
5 |
6 |
13 |
14 |
17 |
--------------------------------------------------------------------------------
/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
18 | 没有数据啦~~
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
128 |
129 |
144 |
--------------------------------------------------------------------------------
/plugins/antPlugin.ts:
--------------------------------------------------------------------------------
1 | import { message } from 'ant-design-vue';
2 | import 'ant-design-vue/es/message/style/css';
3 | export default defineNuxtPlugin(()=>{
4 | return {
5 | provide: {
6 | message:message
7 | }
8 | }
9 | })
10 |
11 |
--------------------------------------------------------------------------------
/plugins/myPlugin.ts:
--------------------------------------------------------------------------------
1 | export default defineNuxtPlugin(()=>{
2 | return {
3 | provide: {
4 | myPlugin:(msg:string) => `Hello ${msg}`
5 | }
6 | }
7 | })
8 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/favicon.ico
--------------------------------------------------------------------------------
/public/images/banner-s-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/banner-s-5.png
--------------------------------------------------------------------------------
/public/images/banner-s-club.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/banner-s-club.png
--------------------------------------------------------------------------------
/public/images/banner-s-daily.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/banner-s-daily.png
--------------------------------------------------------------------------------
/public/images/banner-s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/banner-s.png
--------------------------------------------------------------------------------
/public/images/default-avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/default-avatar.png
--------------------------------------------------------------------------------
/public/images/login_page_download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/login_page_download.png
--------------------------------------------------------------------------------
/public/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/logo.png
--------------------------------------------------------------------------------
/public/images/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/note.png
--------------------------------------------------------------------------------
/public/images/sign_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/images/sign_bg.png
--------------------------------------------------------------------------------
/public/img/1680360870506-16768532085901792.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/img/1680360870506-16768532085901792.jpg
--------------------------------------------------------------------------------
/public/img/1680360905309-16768532085901792.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/img/1680360905309-16768532085901792.jpg
--------------------------------------------------------------------------------
/public/img/1680361223516-16768532085901792.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codprincess/j-book-demo/3dae538ceb281fe5037530ce557f896cb58cbe1f/public/img/1680361223516-16768532085901792.jpg
--------------------------------------------------------------------------------
/server/api/auth/login.post.ts:
--------------------------------------------------------------------------------
1 | import Joi from "joi";
2 | import {responseJson} from "~/server/utils/helper";
3 | import {getDB} from "~/server/utils/db/mysql";
4 | // @ts-ignore
5 | import md5 from "md5";
6 | // @ts-ignore
7 | import jwt from "jsonwebtoken"
8 |
9 | /**
10 | * 1、获取客户端传来的手机号和密码
11 | * 2、数据校验
12 | * 3、查询数据库,如果不存在手机则返回手机号不存在或者密码错误
13 | * 4、如果已经注册,并且密码正确,就生成token,并返回给客户端,token根据jwt生成
14 | */
15 | export default defineEventHandler(async (event)=>{
16 | //获取数据
17 | const body = await readBody(event)
18 | console.log('11111',body)
19 |
20 | //校验数据joi
21 | const schema = Joi.object({
22 | password:Joi.string().required(),
23 | phone:Joi.string().pattern(/1\d{10}/),
24 | });
25 | try {
26 | const value = await schema.validateAsync(body);
27 | }
28 | catch (err) {
29 | return responseJson(1,'参数错误',{})
30 | }
31 |
32 | //密码加密md5
33 | let salt = 'ueidfisgfilegfiff'
34 | let password = md5(md5(body.password)+salt)
35 | const con = getDB()
36 | try {
37 | //查询数据库
38 | const [rows] = await con.execute('SELECT * FROM `users` WHERE `phone`=? AND `password`=?',
39 | [body.phone,password]);
40 | console.log('22222',rows)
41 | if (rows.length === 0){
42 | return responseJson(1,'账号不存在或者密码错误',{})
43 | }
44 | //释放连接
45 | await con.end()
46 | //生成token jsonwebtoken
47 | //秘钥
48 | let secret = 'eifuisedfuvs'
49 | let token = jwt.sign({
50 | exp: Math.floor(Date.now() / 1000) + (60 * 60),
51 | data: {data:{uid:rows[0].id}}
52 | }, secret);
53 |
54 | //返回
55 | return responseJson(0,'ok',{
56 | accessToken:token,
57 | userInfo:{
58 | id:rows[0].id,
59 | nickname:rows[0].nickname,
60 | phone:rows[0].phone,
61 | avatar:rows[0].avatar,
62 | }
63 | })
64 |
65 | }catch (e){
66 | //释放连接
67 | await con.end()
68 | return responseJson(1,'服务器错误',{})
69 | }
70 |
71 |
72 | })
73 |
--------------------------------------------------------------------------------
/server/api/auth/register.post.ts:
--------------------------------------------------------------------------------
1 | import Joi from "joi";
2 | // @ts-ignore
3 | import md5 from "md5";
4 | import {getDB} from "~/server/utils/db/mysql";
5 | import {responseJson} from "~/server/utils/helper";
6 | /**
7 | * 1、获取数据
8 | * 2、数据校验
9 | * 3、密码加密
10 | * 4、判断账号是否注册
11 | * 5、创建账号
12 | */
13 |
14 | export default defineEventHandler(async (event)=>{
15 | //获取数据
16 | const body = await readBody(event)
17 | console.log('11111',body)
18 |
19 | //校验数据joi
20 | const schema = Joi.object({
21 | nickname: Joi.string().required(),
22 | password:Joi.string().required(),
23 | phone:Joi.string().pattern(/1\d{10}/),
24 | });
25 | try {
26 | const value = await schema.validateAsync(body);
27 | }
28 | catch (err) {
29 | return responseJson(1,'参数错误',{})
30 | }
31 |
32 | //密码加密md5
33 | let salt = 'ueidfisgfilegfiff'
34 | let password = md5(md5(body.password)+salt)
35 | const con = getDB()
36 | try {
37 | //查询数据库
38 | const [rows] = await con.execute('select * from `users` where `phone`=?',[body.phone]);
39 | console.log('22222',rows)
40 | if (rows.length > 0){
41 | return responseJson(1,'账号已注册',{})
42 | }
43 | //创建账号
44 | const [rows2] = await con.execute('insert into `users` (`nickname`,`phone`,`password`) value (?,?,?)',[body.nickname,body.phone,password]);
45 | console.log('333333',rows2)
46 | //释放连接
47 | await con.end()
48 | if (rows2.affectedRows === 1){
49 | return responseJson(0,'注册成功',{})
50 | }
51 | }catch (e){
52 | //释放连接
53 | await con.end()
54 | return responseJson(1,'服务器错误',{})
55 | }
56 |
57 |
58 | })
59 |
--------------------------------------------------------------------------------
/server/api/auth/user.put.ts:
--------------------------------------------------------------------------------
1 | import Joi from "joi";
2 | import {getLoginUid, responseJson} from "~/server/utils/helper";
3 | import {getDB} from "~/server/utils/db/mysql";
4 |
5 | /***
6 | * 修改用户信息
7 | */
8 | export default defineEventHandler(async (event) => {
9 | //获取用户id,判断是否登录
10 | let uid = getLoginUid(event)
11 | if (uid === 0 ) {
12 | // @ts-ignore
13 | setResponseStatus(event, 401)
14 | return responseJson(1,'请先登录',{})
15 | }
16 | //获取数据
17 | const body = await readBody(event)
18 | // 数据校验
19 | const schema = Joi.object({
20 | nickname: Joi.string().required()
21 | })
22 | try {
23 | const value = await schema.validateAsync(body)
24 | } catch (e) {
25 | return responseJson(1, '参数错误', {});
26 | }
27 | const con = getDB()
28 | try {
29 | //修改用户信息
30 | const [rows] = await con.
31 | execute('UPDATE `users` SET `nickname`=? WHERE `id`=?',[body.nickname,uid])
32 | await con.end()
33 | if (rows.affectedRows === 0) {
34 | return responseJson(1,'修改失败~~',{})
35 | }
36 | return responseJson(0,'保存成功~~',{})
37 | //释放连接
38 |
39 | }catch (e){
40 | await con.end()
41 | console.log('error',e)
42 | // @ts-ignore
43 | setResponseStatus(event,500)
44 | return responseJson(1,'服务器错误',{})
45 | }
46 |
47 | })
48 |
--------------------------------------------------------------------------------
/server/api/cos/auth.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、文章文件上传腾讯云
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import { getLoginUid, responseJson} from "~/server/utils/helper";
8 | import COS from 'cos-nodejs-sdk-v5'
9 | import STS from 'qcloud-cos-sts'
10 | import Joi from "joi";
11 |
12 | const conf = useRuntimeConfig()
13 | // 配置参数
14 | var config = {
15 | secretId: conf.SecretId, // 固定密钥
16 | secretKey: conf.SecretKey, // 固定密钥
17 | proxy: '',
18 | durationSeconds: 1800,
19 | // host: 'sts.tencentcloudapi.com', // 域名,非必须,默认为 sts.tencentcloudapi.com
20 | endpoint: 'sts.tencentcloudapi.com', // 域名,非必须,与host二选一,默认为 sts.tencentcloudapi.com
21 |
22 | // 放行判断相关参数
23 | bucket: conf.public.BUCKET,
24 | region: conf.public.REGION,
25 | allowPrefix: '', // 这里改成允许的路径前缀,可以根据自己网站的用户登录态判断允许上传的具体路径,例子: a.jpg 或者 a/* 或者 * (使用通配符*存在重大安全风险, 请谨慎评估使用)
26 | // 简单上传和分片,需要以下的权限,其他权限列表请看 https://cloud.tencent.com/document/product/436/31923
27 | allowActions: [
28 | // 简单上传
29 | 'name/cos:PutObject',
30 | 'name/cos:PostObject',
31 | // 分片上传
32 | 'name/cos:InitiateMultipartUpload',
33 | 'name/cos:ListMultipartUploads',
34 | 'name/cos:ListParts',
35 | 'name/cos:UploadPart',
36 | 'name/cos:CompleteMultipartUpload'
37 | ],
38 | };
39 |
40 | export default defineEventHandler(async (event)=>{
41 | //判断用户登录
42 | let uid = getLoginUid(event)
43 | console.log('uid',uid)
44 | if (uid === 0) {
45 | // @ts-ignore
46 | setResponseStatus(event,401)
47 | return responseJson(1,'请先登录',{})
48 | }
49 | //获取数据
50 | const params = await getQuery(event)
51 | console.log('params',params)
52 |
53 | //校验数据joi
54 | const schema = Joi.object({
55 | type: Joi.string().required()
56 | });
57 | try {
58 | const value = await schema.validateAsync(params);
59 | }
60 | catch (err) {
61 | return responseJson(1,'参数错误',{})
62 | }
63 |
64 | if (params.type !== "avatar" && params.type !== "note") {
65 | return responseJson(1,'参数错误~',{})
66 | }
67 |
68 | config.allowPrefix = "uploads/"+ uid + "/" + params.type + "/*"
69 | // 获取临时密钥
70 | var shortBucketName = config.bucket.substr(0 , config.bucket.lastIndexOf('-'));
71 | var appId = config.bucket.substr(1 + config.bucket.lastIndexOf('-'));
72 | var policy = {
73 | 'version': '2.0',
74 | 'statement': [{
75 | 'action': config.allowActions,
76 | 'effect': 'allow',
77 | 'principal': {'qcs': ['*']},
78 | 'resource': [
79 | 'qcs::cos:' + config.region + ':uid/' + appId + ':prefix//' + appId + '/' + shortBucketName + '/' + config.allowPrefix,
80 | ],
81 | // condition生效条件,关于 condition 的详细设置规则和COS支持的condition类型可以参考https://cloud.tencent.com/document/product/436/71306
82 | // 'condition': {
83 | // // 比如限定ip访问
84 | // 'ip_equal': {
85 | // 'qcs:ip': '10.121.2.10/24'
86 | // }
87 | // }
88 | }],
89 | };
90 | const result = await STS.getCredential({
91 | secretId: config.secretId,
92 | secretKey: config.secretKey,
93 | proxy: config.proxy,
94 | durationSeconds: config.durationSeconds,
95 | endpoint: config.endpoint,
96 | policy: policy,
97 | });
98 |
99 | return responseJson(0,'ok~~~',result)
100 |
101 | })
102 |
--------------------------------------------------------------------------------
/server/api/home/detail.ts:
--------------------------------------------------------------------------------
1 | /**
2 | *获取文章详情
3 | */
4 |
5 | import {getDB} from "~/server/utils/db/mysql";
6 | import {getFirstImage, responseJson, trimMarkdown} from "~/server/utils/helper";
7 | import Joi from "joi";
8 |
9 |
10 | export default defineEventHandler(async (event)=>{
11 |
12 | //获取数据
13 | const params = await getQuery(event)
14 | //校验数据joi
15 | const schema = Joi.object({
16 | noteId: Joi.number().required()
17 | });
18 | try {
19 | const value = await schema.validateAsync(params);
20 | }
21 | catch (err) {
22 | return responseJson(1,'参数错误',{})
23 | }
24 |
25 |
26 | const con = getDB()
27 | try {
28 | //获取用户文章
29 | const [notesData] = await con.query('SELECT notes.id AS id,notes.title,notes.content_md,notes.uid,notes.created_at,users.nickname,users.avatar FROM `notes` LEFT JOIN `users` ON notes.uid = users.id WHERE `state`=? AND notes.id=?',
30 | [2,params.noteId]);
31 | if (notesData.length !==1){
32 | return responseJson(1,'文章不存在',{})
33 | }
34 |
35 |
36 | //释放连接
37 | await con.end()
38 |
39 | return responseJson(0,'获取文章成功哦',{
40 | id:notesData[0].id,
41 | title:notesData[0].title,
42 | subTitle:trimMarkdown(notesData[0].content_md,300),
43 | author:{
44 | id:notesData[0].uid,
45 | nickname: notesData[0].nickname,
46 | avatar:notesData[0].avatar
47 | },
48 | content_md:notesData[0].content_md,
49 | created_at:notesData[0].created_at,
50 | })
51 | }catch (e){
52 | //释放连接
53 | await con.end()
54 | console.log('error',e)
55 | // @ts-ignore
56 | setResponseStatus(event,500)
57 | return responseJson(1,'服务器错误',{})
58 | }
59 |
60 |
61 | })
62 |
--------------------------------------------------------------------------------
/server/api/home/notes.get.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则获取全部的文章
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import {getFirstImage, getLoginUid, responseJson, trimMarkdown} from "~/server/utils/helper";
8 |
9 |
10 | export default defineEventHandler(async (event)=>{
11 |
12 | //获取数据
13 | const params = await getQuery(event)
14 |
15 |
16 | const con = getDB()
17 | try {
18 | //获取用户文章
19 | const [notesData] = await con.query('SELECT notes.id AS id,notes.title,notes.content_md,notes.uid,users.nickname FROM `notes` LEFT JOIN `users` ON notes.uid = users.id WHERE `state`=? LIMIT ? OFFSET ?',
20 | [2,Number(params.pageSize),(Number(params.page)-1)*Number(params.pageSize)]);
21 | notesData.map((v:any)=>{
22 | v.subTitle = trimMarkdown(v.content_md,300)
23 | v.cover = getFirstImage(v.content_md)
24 | v.like = 45
25 | v.content_md = ''
26 | v.flag = false
27 |
28 | })
29 |
30 | //释放连接
31 | await con.end()
32 |
33 | return responseJson(0,'获取文章成功哦',{
34 | list:notesData
35 | })
36 | }catch (e){
37 | //释放连接
38 | await con.end()
39 | console.log('error',e)
40 | // @ts-ignore
41 | setResponseStatus(event,500)
42 | return responseJson(1,'服务器错误',{})
43 | }
44 |
45 |
46 | })
47 |
--------------------------------------------------------------------------------
/server/api/note/note.delete.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则删除文章
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import {getLoginUid, responseJson} from "~/server/utils/helper";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 | //获取数据
21 | const body = await readBody(event)
22 | console.log('11111',body)
23 |
24 | //校验数据joi
25 | const schema = Joi.object({
26 | noteId: Joi.number().required()
27 | });
28 | try {
29 | const value = await schema.validateAsync(body);
30 | }
31 | catch (err) {
32 | return responseJson(1,'参数错误',{})
33 | }
34 |
35 |
36 | const con = getDB()
37 | try {
38 | //删除文章
39 | const [rows] = await con.execute('DELETE FROM `notes` WHERE `id`=? AND `uid`=?',
40 | [body.noteId,uid]);
41 | console.log('333333',rows)
42 | //释放连接
43 | await con.end()
44 | if (rows.affectedRows === 0){
45 | return responseJson(1,'删除失败',{})
46 | }
47 | return responseJson(0,'删除文章成功哦',{})
48 | }catch (e){
49 | //释放连接
50 | await con.end()
51 | console.log('error',e)
52 | // @ts-ignore
53 | setResponseStatus(event,500)
54 | return responseJson(1,'服务器错误',{})
55 | }
56 |
57 |
58 | })
59 |
--------------------------------------------------------------------------------
/server/api/note/note.get.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则获取用户的文章
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import {getLoginUid, responseJson} from "~/server/utils/helper";
8 | import Joi from "joi";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 |
21 | //获取数据
22 | const params = await getQuery(event)
23 | console.log('body',params)
24 | //校验数据joi
25 | const schema = Joi.object({
26 | noteId: Joi.number().required()
27 | });
28 | try {
29 | const value = await schema.validateAsync(params);
30 | }
31 | catch (err) {
32 | return responseJson(1,'参数错误',{})
33 | }
34 |
35 | const con = getDB()
36 | try {
37 | //获取用户文章
38 | const [rows] = await con.query('SELECT * FROM `notes` WHERE `uid`=? AND `id`=?',
39 | [uid,params.noteId]);
40 | console.log('33333',rows)
41 | //释放连接
42 | await con.end()
43 |
44 | return responseJson(0,'获取文章成功哦',{
45 | list:{
46 | id:rows[0].id,
47 | title:rows[0].title,
48 | content_md:rows[0].content_md,
49 | state:rows[0].state
50 | }
51 | })
52 | }catch (e){
53 | //释放连接
54 | await con.end()
55 | console.log('error',e)
56 | // @ts-ignore
57 | setResponseStatus(event,500)
58 | return responseJson(1,'服务器错误',{})
59 | }
60 |
61 |
62 | })
63 |
--------------------------------------------------------------------------------
/server/api/note/note.post.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则创建文章
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import {genTitle, getLoginUid, responseJson} from "~/server/utils/helper";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 | //获取数据
21 | const body = await readBody(event)
22 | console.log('11111',body)
23 |
24 | //校验数据joi
25 | const schema = Joi.object({
26 | notebookId: Joi.number().required()
27 | });
28 | try {
29 | const value = await schema.validateAsync(body);
30 | }
31 | catch (err) {
32 | console.log("参数错误",err)
33 | return responseJson(1,'参数错误',{})
34 | }
35 |
36 |
37 | const con = getDB()
38 | try {
39 | //创建文章
40 | const [rows] = await con.execute('INSERT INTO `notes` (`title`,`content_md`,`state`,`uid`) VALUE (?,?,?,?)',
41 | [genTitle(),"",1,uid]);
42 | if (rows.affectedRows === 0){
43 | return responseJson(1,'创建失败',{})
44 | }
45 |
46 | console.log('333333',rows)
47 | //关联文集表
48 | const [rows2] = await con.execute('INSERT INTO `notebook_notes` (`notebook_id`,`note_id`) VALUE (?,?)',
49 | [body.notebookId,rows.insertId]);
50 | //释放连接
51 | await con.end()
52 | if (rows.affectedRows === 0){
53 | return responseJson(1,'创建失败',{})
54 | }
55 | return responseJson(0,'创建成功',{})
56 |
57 | }catch (e){
58 | //释放连接
59 | await con.end()
60 | console.log('error',e)
61 | // @ts-ignore
62 | setResponseStatus(event,500)
63 | return responseJson(1,'服务器错误',{})
64 | }
65 |
66 |
67 | })
68 |
--------------------------------------------------------------------------------
/server/api/note/note.put.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则修改文章
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import {genTitle, getLoginUid, responseJson} from "~/server/utils/helper";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 | //获取数据
21 | const body = await readBody(event)
22 | console.log('11111',body)
23 |
24 | //校验数据joi
25 | const schema = Joi.object({
26 | noteId: Joi.number().required(),
27 | title:Joi.string().allow(''),
28 | content_md:Joi.string().allow(''),
29 | state:Joi.number().required(),
30 | });
31 | try {
32 | const value = await schema.validateAsync(body);
33 | }
34 | catch (err) {
35 | console.log("参数错误",err)
36 | return responseJson(1,'参数错误',{})
37 | }
38 |
39 |
40 | const con = getDB()
41 | try {
42 | //修改文章
43 | const [rows] = await con.execute('UPDATE `notes` SET `title`=?,`content_md`=?,`state`=? WHERE `id`=? AND `uid`=?',
44 | [body.title,body.content_md,body.state,body.noteId,uid]);
45 | //释放连接
46 | await con.end()
47 | if (rows.affectedRows === 0){
48 | return responseJson(1,'修改失败',{})
49 | }
50 | return responseJson(0,'修改成功',{})
51 |
52 | }catch (e){
53 | //释放连接
54 | await con.end()
55 | console.log('error',e)
56 | // @ts-ignore
57 | setResponseStatus(event,500)
58 | return responseJson(1,'服务器错误',{})
59 | }
60 |
61 |
62 | })
63 |
--------------------------------------------------------------------------------
/server/api/note/notebook.delete.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则删除文集
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import {getLoginUid, responseJson} from "~/server/utils/helper";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 | //获取数据
21 | const body = await readBody(event)
22 | console.log('11111',body)
23 |
24 | //校验数据joi
25 | const schema = Joi.object({
26 | id: Joi.number().required()
27 | });
28 | try {
29 | const value = await schema.validateAsync(body);
30 | }
31 | catch (err) {
32 | return responseJson(1,'参数错误',{})
33 | }
34 |
35 |
36 | const con = getDB()
37 | try {
38 | //修改文集
39 | const [rows] = await con.execute('DELETE FROM `notebooks` WHERE `id`=? AND `uid`=?',
40 | [body.id,uid]);
41 | console.log('333333',rows)
42 | //释放连接
43 | await con.end()
44 | if (rows.affectedRows === 0){
45 | return responseJson(1,'删除失败',{})
46 | }
47 | return responseJson(0,'删除文集成功哦',{})
48 | }catch (e){
49 | //释放连接
50 | await con.end()
51 | console.log('error',e)
52 | // @ts-ignore
53 | setResponseStatus(event,500)
54 | return responseJson(1,'服务器错误',{})
55 | }
56 |
57 |
58 | })
59 |
--------------------------------------------------------------------------------
/server/api/note/notebook.get.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则获取用户的文集
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import {getLoginUid, responseJson} from "~/server/utils/helper";
8 |
9 |
10 | export default defineEventHandler(async (event)=>{
11 | //判断用户登录
12 | let uid = getLoginUid(event)
13 | console.log('uid',uid)
14 | if (uid === 0) {
15 | // @ts-ignore
16 | setResponseStatus(event,401)
17 | return responseJson(1,'请先登录',{})
18 | }
19 |
20 |
21 | const con = getDB()
22 | try {
23 | //获取用户文集
24 | const [rows] = await con.execute('SELECT * FROM `notebooks` WHERE `uid`=? ORDER BY `id` DESC',
25 | [uid]);
26 | console.log('333333',rows)
27 | //释放连接
28 | await con.end()
29 |
30 | return responseJson(0,'获取文集成功哦',{
31 | list:rows
32 | })
33 | }catch (e){
34 | //释放连接
35 | await con.end()
36 | console.log('error',e)
37 | // @ts-ignore
38 | setResponseStatus(event,500)
39 | return responseJson(1,'服务器错误',{})
40 | }
41 |
42 |
43 | })
44 |
--------------------------------------------------------------------------------
/server/api/note/notebook.post.ts:
--------------------------------------------------------------------------------
1 | import Joi from "joi";
2 | import {getLoginUid, responseJson} from "~/server/utils/helper";
3 | import {getDB} from "~/server/utils/db/mysql";
4 |
5 | /***
6 | * 创建文集
7 | */
8 | export default defineEventHandler(async (event) => {
9 | //获取用户id,判断是否登录
10 | let uid = getLoginUid(event)
11 | if (uid === 0 ) {
12 | // @ts-ignore
13 | setResponseStatus(event, 401)
14 | return responseJson(1,'请先登录',{})
15 | }
16 | //获取数据
17 | const body = await readBody(event)
18 | // 数据校验
19 | const schema = Joi.object({
20 | name: Joi.string().required()
21 | })
22 | try {
23 | const value = await schema.validateAsync(body)
24 | } catch (e) {
25 | return responseJson(1, '参数错误', {});
26 | }
27 | const con = getDB()
28 | try {
29 | //创建文集
30 | const [rows] = await con.
31 | execute('insert into `notebooks` (`name`,`uid`) value (?,?)',[body.name,uid])
32 | await con.end()
33 | if (rows.affectedRows === 0) {
34 | return responseJson(1,'创建失败',{})
35 | }
36 | return responseJson(0,'ok',{})
37 | //释放连接
38 |
39 | }catch (e){
40 | await con.end()
41 | console.log('error',e)
42 | // @ts-ignore
43 | setResponseStatus(event,500)
44 | return responseJson(1,'服务器错误',{})
45 | }
46 |
47 | })
48 |
--------------------------------------------------------------------------------
/server/api/note/notebook.put.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则修改文集
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import {getLoginUid, responseJson} from "~/server/utils/helper";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 | //获取数据
21 | const body = await readBody(event)
22 | console.log('11111',body)
23 |
24 | //校验数据joi
25 | const schema = Joi.object({
26 | id: Joi.number().required(),
27 | name: Joi.string().required()
28 | });
29 | try {
30 | const value = await schema.validateAsync(body);
31 | }
32 | catch (err) {
33 | return responseJson(1,'参数错误',{})
34 | }
35 |
36 |
37 | const con = getDB()
38 | try {
39 | //修改文集
40 | const [rows] = await con.execute('UPDATE `notebooks` SET `name` =? WHERE `id`=? AND `uid`=?',
41 | [body.name,body.id,uid]);
42 | console.log('333333',rows)
43 | //释放连接
44 | await con.end()
45 | if (rows.affectedRows === 0){
46 | return responseJson(1,'修改失败',{})
47 | }
48 | return responseJson(0,'修改文集成功哦',{})
49 | }catch (e){
50 | //释放连接
51 | await con.end()
52 | console.log('error',e)
53 | // @ts-ignore
54 | setResponseStatus(event,500)
55 | return responseJson(1,'服务器错误',{})
56 | }
57 |
58 |
59 | })
60 |
--------------------------------------------------------------------------------
/server/api/note/notes.get.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、已登录则获取用户文集下的文章
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import {getLoginUid, responseJson} from "~/server/utils/helper";
8 | import Joi from "joi";
9 |
10 |
11 | export default defineEventHandler(async (event)=>{
12 | //判断用户登录
13 | let uid = getLoginUid(event)
14 | console.log('uid',uid)
15 | if (uid === 0) {
16 | // @ts-ignore
17 | setResponseStatus(event,401)
18 | return responseJson(1,'请先登录',{})
19 | }
20 |
21 | //获取数据
22 | const params = await getQuery(event)
23 | console.log('body',params)
24 | //校验数据joi
25 | const schema = Joi.object({
26 | notebookId: Joi.number().required()
27 | });
28 | try {
29 | const value = await schema.validateAsync(params);
30 | }
31 | catch (err) {
32 | return responseJson(1,'参数错误',{})
33 | }
34 |
35 | const con = getDB()
36 | try {
37 | //查询文章和文集的关联表
38 | const [notebookRows] = await con.query('SELECT `note_id` FROM `notebook_notes` WHERE `notebook_id`=?',
39 | [params.notebookId]);
40 | console.log('notebookRows',notebookRows)
41 |
42 | //查询文章
43 | let noteIdList:any = []
44 | if (notebookRows.length < 1){
45 | return responseJson(0,'无数据',{
46 | list:[]
47 | })
48 | }
49 |
50 | //遍历文章id
51 | notebookRows.map((v:any)=>{
52 | noteIdList.push(v.note_id)
53 | })
54 | //查询文章表
55 | const [notesRows] = await con.query('SELECT id,title FROM `notes` WHERE `uid`=? AND id IN (?) ORDER BY `id` DESC',
56 | [uid,noteIdList]);
57 | console.log('notesRows',notesRows)
58 | //释放连接
59 | await con.end()
60 |
61 | return responseJson(0,'获取文章成功哦',{
62 | list:notesRows
63 | })
64 | }catch (e){
65 | //释放连接
66 | await con.end()
67 | console.log('error',e)
68 | // @ts-ignore
69 | setResponseStatus(event,500)
70 | return responseJson(1,'服务器错误',{})
71 | }
72 |
73 |
74 | })
75 |
--------------------------------------------------------------------------------
/server/api/notebooks.get.ts:
--------------------------------------------------------------------------------
1 |
2 | import {getDB} from "~/server/utils/db/mysql";
3 | import {getLoginUid, responseJson} from "~/server/utils/helper";
4 |
5 |
6 | export default defineEventHandler(async (event)=>{
7 |
8 | const con = getDB()
9 | try {
10 | //获取用户文集
11 | const [rows] = await con.execute('SELECT * FROM `notebooks`');
12 | console.log('333333',rows)
13 | //释放连接
14 | await con.end()
15 |
16 | return responseJson(0,'ok',{})
17 | }catch (e){
18 | //释放连接
19 | await con.end()
20 | console.log('error',e)
21 | // @ts-ignore
22 | setResponseStatus(event,500)
23 | return responseJson(1,'服务器错误',{})
24 | }
25 |
26 |
27 | })
28 |
--------------------------------------------------------------------------------
/server/api/upload.post.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、上传头像
4 | */
5 |
6 | import Joi from "joi";
7 | import {getDB} from "~/server/utils/db/mysql";
8 | import { getLoginUid, responseJson} from "~/server/utils/helper";
9 | import path from "path";
10 | import * as fs from "fs";
11 |
12 |
13 |
14 | export default defineEventHandler(async (event)=>{
15 | //判断用户登录
16 | let uid = getLoginUid(event)
17 | console.log('uid',uid)
18 | if (uid === 0) {
19 | // @ts-ignore
20 | setResponseStatus(event,401)
21 | return responseJson(1,'请先登录',{})
22 | }
23 | //获取数据
24 | const body = await readMultipartFormData(event)
25 | console.log('11111',body)
26 |
27 | if (body ){
28 | if (body[0].type !== 'image/jpeg' && body[0].type !== 'image/png' && body[0].type !== 'image/jpg') {
29 | return responseJson(1,'请上传jpg/png/jpeg类型的图片',{})
30 | }
31 | //图片名称
32 | const fileName = Date.now()+'-'+body[0].filename
33 | //图片路径
34 | const filePath = path.join('./public','img',fileName)
35 | //图片数据
36 | const buffer = body[0].data
37 |
38 | fs.writeFile(filePath,buffer,(err)=>{
39 | if (err) {
40 | console.log(err)
41 | }else {
42 |
43 | }
44 | })
45 |
46 | //存储图片路径
47 | const avatarUrl = '/img/'+fileName
48 |
49 | const con = getDB()
50 | try {
51 | //插入users
52 | const [rows] = await con.execute('UPDATE `users` SET `avatar`=? WHERE `id`=?',
53 | [avatarUrl,uid]);
54 | //释放连接
55 | await con.end()
56 | if (rows.affectedRows === 0){
57 | return responseJson(1,'上传头像失败~',{})
58 | }
59 | return responseJson(0,'ok~',{
60 | avatar:avatarUrl
61 | })
62 |
63 | }catch (e){
64 | //释放连接
65 | await con.end()
66 | console.log('error',e)
67 | // @ts-ignore
68 | setResponseStatus(event,500)
69 | return responseJson(1,'服务器错误',{})
70 | }
71 |
72 | }
73 |
74 | return responseJson(1,'请上传头像~',{})
75 |
76 |
77 | })
78 |
--------------------------------------------------------------------------------
/server/api/uploadCos.post.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * 1、判断用户是否登录
3 | * 2、上传头像到腾讯云
4 | */
5 |
6 | import {getDB} from "~/server/utils/db/mysql";
7 | import { getLoginUid, responseJson} from "~/server/utils/helper";
8 | import COS from 'cos-nodejs-sdk-v5'
9 | import {getUUID} from "~/composables/useHelper";
10 |
11 |
12 | export default defineEventHandler(async (event)=>{
13 | //判断用户登录
14 | let uid = getLoginUid(event)
15 | console.log('uid',uid)
16 | if (uid === 0) {
17 | // @ts-ignore
18 | setResponseStatus(event,401)
19 | return responseJson(1,'请先登录',{})
20 | }
21 | //获取数据
22 | const body = await readMultipartFormData(event)
23 | console.log('11111',body)
24 |
25 | if (body ){
26 | if (body[0].type !== 'image/jpeg' && body[0].type !== 'image/png' && body[0].type !== 'image/jpg') {
27 | return responseJson(1,'请上传jpg/png/jpeg类型的图片',{})
28 | }
29 | const config = useRuntimeConfig()
30 | //初始化
31 | const cos = new COS({
32 | SecretId: config.SecretId,
33 | SecretKey: config.SecretKey,
34 | });
35 | //图片名称
36 | const fileName = Date.now()+'-'+body[0].filename
37 | //图片数据
38 | const buffer = body[0].data
39 | //图片后缀
40 | const ext = fileName.slice(fileName.lastIndexOf(".")+1)
41 | //key
42 | let key = "uploads/"+ uid + "/avatar/" + getUUID() + "." + ext
43 | //请求文件
44 | const data = await cos.putObject({
45 | Bucket: config.public.BUCKET, /* 必须 */
46 | Region: config.public.REGION, /* 必须 */
47 | Key: key, /* 必须 */
48 | Body: buffer, // 上传文件对象
49 | })
50 | console.log('data',data)
51 | const avatarUrl = `https://${data.Location}`
52 |
53 | const con = getDB()
54 | try {
55 | //插入users
56 | const [rows] = await con.execute('UPDATE `users` SET `avatar`=? WHERE `id`=?',
57 | [avatarUrl,uid]);
58 | //释放连接
59 | await con.end()
60 | if (rows.affectedRows === 0){
61 | return responseJson(1,'上传头像失败~',{})
62 | }
63 | return responseJson(0,'ok~',{
64 | avatar:avatarUrl
65 | })
66 |
67 | }catch (e){
68 | //释放连接
69 | await con.end()
70 | console.log('error',e)
71 | // @ts-ignore
72 | setResponseStatus(event,500)
73 | return responseJson(1,'服务器错误',{})
74 | }
75 |
76 | }
77 |
78 | return responseJson(1,'请上传头像~',{})
79 |
80 |
81 | })
82 |
--------------------------------------------------------------------------------
/server/api/user.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/server/middleware/auth.ts:
--------------------------------------------------------------------------------
1 | // @ts-ignore
2 | import jwt from "jsonwebtoken";
3 |
4 | /***
5 | * 1、获取token
6 | * 2、判断token,如果有token,则处理token,之后再验证token值
7 | */
8 | export default defineEventHandler((event)=>{
9 | //获取token值
10 | let token = getHeader(event,"Authorization")
11 | console.log('token',token)
12 | if (token) {
13 | //处理token
14 | token = token.replace("Bearer ","")
15 | //秘钥
16 | let secret = 'eifuisedfuvs'
17 | try {
18 | //验证token
19 | var decoded = jwt.verify(token, secret);
20 | console.log('1111',decoded.data.data.uid)
21 | //传递给上下文
22 | event.context.auth = {uid:decoded.data.data.uid}
23 |
24 | }catch (e) {
25 | console.log('jwt 解码错误',e)
26 | }
27 | }
28 | })
29 |
--------------------------------------------------------------------------------
/server/middleware/cors.ts:
--------------------------------------------------------------------------------
1 | export default defineEventHandler((event) => {
2 | setResponseHeaders(event, {
3 | "Access-Control-Allow-Methods": "GET,HEAD,PUT,PATCH,POST,DELETE",
4 | "Access-Control-Allow-Origin": "*",
5 | 'Access-Control-Allow-Credentials': 'true',
6 | "Access-Control-Allow-Headers": '*',
7 | "Access-Control-Expose-Headers": '*'
8 | })
9 | if(getMethod(event) === 'OPTIONS'){
10 | setResponseStatus(event,204)
11 | return 'OK'
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/server/utils/db/mysql/index.ts:
--------------------------------------------------------------------------------
1 | import mysql from 'mysql2'
2 | //连接池
3 | export const getDB = () =>{
4 | const config = useRuntimeConfig()
5 | return mysql.createPool({
6 | host: config.DB_HOST,
7 | user: config.DB_USER,
8 | database: config.DB_DATABASE,
9 | password: config.DB_PASSWORD,
10 | waitForConnections: true,
11 | connectionLimit: 10,
12 | queueLimit: 0
13 | }).promise();
14 | }
15 |
--------------------------------------------------------------------------------
/server/utils/helper/index.ts:
--------------------------------------------------------------------------------
1 | export const responseJson = (code:number,msg:string,data:object)=>{
2 | let resp = {code:code,msg:msg,data:data}
3 | return resp
4 | }
5 | export const getLoginUid = (event:any) => {
6 | return event.context.auth ? event.context.auth.uid : 0
7 | }
8 | //获取当前时间
9 | export const genTitle = () => {
10 | let currentDate = new Date();
11 | let year = currentDate.getFullYear();
12 | let month = ("0"+(currentDate.getMonth()+1)).slice(-2);
13 | let day = ("0"+currentDate.getDay()).slice(-2);
14 | return year+"-"+month+"-"+day
15 | }
16 |
17 | //截取文章
18 | export const trimMarkdown = (content,maxLength) => {
19 | let strippedContent = content.replace(/#|\*|_|`/g, '');
20 | if (strippedContent.length > maxLength) {
21 | strippedContent = strippedContent.substr(0,maxLength) + '...'
22 | }
23 | return strippedContent
24 | }
25 | //获取文章第一张图片
26 | export const getFirstImage = (content) => {
27 | const regex = /!\[.*\]\((.*)\)/;
28 | const match = content.match(regex)
29 | if (match) {
30 | return match[1]
31 | }
32 | return null
33 | }
34 |
--------------------------------------------------------------------------------
/store/myStore.ts:
--------------------------------------------------------------------------------
1 | import {defineStore} from "pinia";
2 |
3 | export const useMyStore = defineStore('myStore',{
4 | state:()=>({
5 | counter:1,
6 | token:'2423534543'
7 | }),
8 | getters:{
9 | doubleCounter:(state) => state.counter * 2
10 | },
11 | actions:{
12 | add(){
13 | this.counter++
14 | }
15 | },
16 | })
17 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | // https://nuxt.com/docs/guide/concepts/typescript
3 | "extends": "./.nuxt/tsconfig.json"
4 | }
5 |
--------------------------------------------------------------------------------