mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-15 19:58:00 +00:00
1 line
2.0 KiB
JavaScript
1 line
2.0 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8582],{858:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>p,frontMatter:()=>r,metadata:()=>s,toc:()=>i});const s=JSON.parse('{"id":"deploy/depend/mysql","title":"MySQL","description":"Installation","source":"@site/i18n/en/docusaurus-plugin-content-docs/current/deploy/depend/mysql.md","sourceDirName":"deploy/depend","slug":"/deploy/depend/mysql","permalink":"/docs/docs/deploy/depend/mysql","draft":false,"unlisted":false,"editUrl":"https://github.com/bytedesk/bytedesk/docs/deploy/depend/mysql.md","tags":[],"version":"current","sidebarPosition":5,"frontMatter":{"sidebar_label":"MySQL","sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Nginx","permalink":"/docs/docs/deploy/depend/nginx"},"next":{"title":"Llm Provider","permalink":"/docs/docs/category/llm-provider"}}');var o=n(5723),d=n(6246);const r={sidebar_label:"MySQL",sidebar_position:5},l="MySQL",a={},i=[{value:"Installation",id:"installation",level:2}];function c(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",pre:"pre",...(0,d.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"mysql",children:"MySQL"})}),"\n",(0,o.jsx)(t.h2,{id:"installation",children:"Installation"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-bash",children:"# Install MySQL\nsudo apt update\nsudo apt install mysql-server\n# Start MySQL\nsudo systemctl start mysql\n# Check status\nsudo systemctl status mysql\n"})})]})}function p(e={}){const{wrapper:t}={...(0,d.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},6246:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>l});var s=n(2155);const o={},d=s.createContext(o);function r(e){const t=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(d.Provider,{value:t},e.children)}}}]); |