包含「mysql」标签的文章 - 共计3篇

2023-11-10
背景 数据库存储有这类JSON数据,希望在输出时将每个子项都单独输出并根据key值重命名 json softtissue:{ nasalBase:{ Col_Sn_Ls:null, N_Prn_Sn:null, ZyR_Prn_ZyL:null, Sn_N_Pg:null, A_NPg:null, Col_Sn:null, Prn_Sn:null, AIR_AIL:null, AcR_AcL:null, other:"" }, upperLipAn
2024-02-17
设MySQL中JSON字段info的格式如下: json { "name":"小明", "age":15, "height":163 } 建表 sql create table 't1' ( 'id' int(11) NOT NULL AUTO_INCREMENT, 'info' json DEFAULT NULL, PRIMARY KEY ('id') )ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 查
2023-08-21
添加数据库 shell create database xxxx; 删除数据库 shell drop database xxxx; 读取sql文件 shell 进入mysql命令行 mysql -u root -p 选中数据库 use xxxx; 导入sql文件,定位到sql文件路径 source ~/~/xxxx.sql
copyright  2024   @ Cardy
Powered by Astro | Theme Cloud