[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fZfhHjm6CX5gLsvAq7WS9Sl1hz-qLcIICiwduUzMnQwI":3},{"code":4,"message":5,"data":6},200,"成功",{"id":7,"createdAt":8,"title":9,"content":10,"summary":11,"image":12,"uid":13,"user":14,"categoryId":21,"category":22,"subCategoryId":24,"subCategory":25,"comments":27,"status":17,"reason":28,"notice":28,"visitCount":29,"commentCount":30,"keywords":31},23,"2024-01-26T15:01:10.993Z","mysql数据库常用命令","### 1. 查看mysql中的数据库\n```terminal\nmysql> show databases;\n```\n![mysql命令](https://image.xinwei.ltd/11706280926072.png)\n\n### 2. 新增数据库\n```terminal\nmysql> create database XXX; // XXX是数据库名\n```\n![mysql命令](https://image.xinwei.ltd/21706280979343.png)\n\n### 3. 删除数据库\n```terminal\nmysql> drop database test;\n```\n![mysql命令](https://image.xinwei.ltd/31706281042000.png)\n\n### 4. 使用哪一个数据库\n```terminal\nmysql> use wordpress;\n```\n![mysql命令](https://image.xinwei.ltd/41706281090282.png)\n\n### 5. 显示当前数据库下的表\n```terminal\nmysql> show tables;\n```\n![mysql命令](https://image.xinwei.ltd/51706281128267.png)\n\n### 6. 创建表&查看表字段信息\n```terminal\nmysql> create table user(id INT, name VARCHAR(10)); // 创建表\nmysql> desc user; // 查看表信息\n```\n![mysql命令](https://image.xinwei.ltd/61706281189169.png)\n\n### 7. 删除表\n```terminal\nmysql> drop table account;\n```\n![mysql命令](https://image.xinwei.ltd/71706281234343.png)\n\n\n","这里介绍mysql数据库的基本指令，以及对应的指令截图，供大家作为参考。","https://image.xinwei.ltd/11706280926072.png",499668042977349,{"phone":15,"userId":13,"nickName":16,"vipType":17,"avatar":18,"sign":19,"createdAt":20},"13121171998","全栈老韩",1,"https://image.xinwei.ltd/images/IMG_5430.JPG","全栈工程师，擅长iOS App开发、前端（vue、react、nuxt、小程序&Taro）开发、Flutter、React Native、后端（midwayjs、golang、express、koa）开发、docker容器、seo优化等。","2024-01-01T16:14:30.305Z",2,{"id":21,"name":23},"IT技术",38,{"id":24,"name":26,"parentId":21},"数据库",[],"",49,0,"mysql"]