Verification: a143cc29221c9be0

Node js mysql мы php mysql

Why Use MySQL with Node.js?

In very simple terms, MySQL is an open-source relational database management system which can operate on various platforms. It is an Oracle product that provides multi-user access to support a number of storage engines. Not only this, MySQL has a number of intriguing features as well which leverages the performance of an application by a notch. Below I have listed down a few of them:

  • Ease of Management – It is very easy to download, that too free of cost. It provides a feature of event scheduler which you can use to schedule the tasks automatically.
  • Robust Transactional Support – It holds the ACID (Atomicity, Consistency, Isolation, Durability) properties, and provides distributed multi-version support.
  • High Performance – It also provides fast load utilities with distinct memory caches and table index partitioning.
  • Low Total Cost Of Ownership – It reduces the licensing costs and hardware expenditures on the whole.
  • Secure Data Protection – It provides high security by implementing powerful mechanisms that grant access to the database only to the authorized users.
  • High Availability – It can run high-speed master/slave replication configurations and also offers cluster servers.
  • Scalability & Flexibility – It can be used to run deeply embedded applications and create data warehouses holding a humongous amount of data.

I guess now you are pretty much familiar with the reason why MySQL is so heavily used in the market. If you wish to learn more about it, you can refer to this article on MySQL Tutorial. Moving ahead, let’s see how to install and get started with MySQL in your local system.

MySQL Installation

There are various ways in which you can install MySQL in your system. The easiest way to install MySQL is by using the MySQL Installer. You can download it from MySQL official site.

Now, why I am using this is because MySQL Installer is a standalone application that eases the complexity of installing and configuring MySQL products. To know more about it, you can refer to this article on MySQL Workbench.

Now that we are done with the installation, let us try to integrate MySQL with a Node.js application.