Knowband Blog | Ecommerce Modules

How to install MySQL on Windows and Linux Systems?

Perform the installation steps mentioned below for the working of MySQL platform on both the operating systems.

MySQL is an open source relational database management system (RDBMS) that is quite popular in various business spheres. The license of this open source project is available for numerous users around the world under the GNU General Public License. It is used by a number of database users around the world due to its OS platform independent feature. This tutorial discusses how to install MySQL on Windows and Linux System.

MySQL open source database system is written in programming languages like C and C++. It can be used with a variety of operating systems like Windows, AIX, FreeBSD, Linux, OS X,  OpenBSD, OpenSolaris and much more. In this blog, we are discussing the installation steps for MySQL on Microsoft Windows and Linux systems. Let us first check out the installation steps for MySQL platform on Windows systems.

Checkpoints to be cleared before the swiftly installing MySQL on Windows and Linux System

If you are one of the Windows users who is looking to install this MySQL, you need to keep in mind certain guidelines for a seamless installation process. Here are the checkpoints for Windows users during the installation process of MySQL.

Keep in mind the size of your database table- In case, the users require a table with a size more than 4GB, it is important to install MySQL platform on a NTFS or new file system. Apart from this, the user needs to use MAX_ROWS and AVG_ROW_LENGTH commands during the creation of a MySQL database table.

Resolve the anti virus scanning issue- There are certain anti virus softwares like Norton/Symantec anti virus that cause problems for directories consisting of MySQL data and temporary tables regarding the performance of MySQL platform. These anti virus softwares read the contents of MySQL files as spam and thus affects the overall performance of the database system.

To handle this situation, it is important to disable the virus scanning feature on the main directory known as datadir which is used to store the MySQL table data. The MySQL users can utilize the inbuilt feature of an anti virus softwares to avoid certain files during the virus scanning process. Apart from this, the temporary files of the MySQL platform can also be exempted from the virus scan program by configuring the separate temporary directory for MySQL temporary files and including this particular directory into the virus scanning exclusion list. For performing this critical task, you need to include a configuration option for the tmpdir parameter in the my.ini configuration file.

How to install MySQL on Windows systems?

If you are a Windows users, it is now easier to download MySQL installer for ensuring a quick installation and configuration of MySQL platform. Here are the simple steps that are involved in the installation process.

How to install MySQL on Linux systems?

Being a platform independent database software, MySQL can be easily installed on Linux systems using Ubuntu version. If you are one of the Linux users, you need to perform the following steps for installing MySQL platform on Linux Ubuntu systems.

sudo apt-get install mysql-server

sudo netstat -tap | grep mysql

tcp  0     0 localhost.localdo:mysql *:*       LISTEN       13059/mysqld

sudo /etc/init.d/mysql restart

mysql -u root -p

Here are the certain set of commands for Linux users in a MySQL environment:

 create database databasename;

 use databasename;

With the help of the above Linux commands, users can now effortlessly create, insert, update and make other changes in the MySQL database without any assistance.

The above blog is a great help for both Windows and Linux users during the installation of MySQL platform. It will help these operating system users to enjoy the features and functionalities of a MySQL database in a seamless manner. If you are in need to add customized modules or new functionality on your eCommerce store based on Magento, PrestaShop or OpenCart platforms, you need to visit our Knowband store.

Liked This? You’ll Like These Too