18

搭建node服务(二):操作MySQL-wx5c2da66615f74的博客

 4 years ago
source link: https://blog.51cto.com/14159827/2500898
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
为了进行复杂信息的存储和查询,服务端系统往往需要数据库操作。数据库分为关系型数据库和非关系型数据库,关系型数据库有MySQL、Oracle、SQLServer等,非关系型数据库有Redis(常用来做缓存)、MongoDB等。MySQL是目前很流行的数据库,本文将要介绍如何在node服务中进行MySQL数据库操作。一、安装依赖npminstallmysql--save或者yarnaddmysql二、

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK