The Customize Windows Technology Blog http://thecustomizewindows.com

WebScaleSQL : Basic Details and Installation

Author : Abhishek

WebScaleSQL is a modified MySQL developed by Engineers at , , LinkedIn, and for making kind of scalable SQL. Everyone knows about MySQL Database. Those who do not know what is MySQL, they can read our previously published article - What is MySQL, Why We Need MySQL. At the time of publishing this article; WebScaleSQL is on everyone's lips. MySQL is great, but it is not intended to be Scalable when it was written, that is the basic reason why we try to make Scalable MySQL Database for CMS like WordPress in a kind of legacy mode. WebScaleSQL is kind of fork of MySQL.

WebScaleSQL : Basics Need for the Approach

Flexibility and Scalability are the Key Benefits of Cloud Computing. Again, Scalability and Service Continuity are Not equivalent. There is another a MySQL Improved Extension - MySQLi. There are reasons why NoSQL Movement was started.

1 / 4 The Customize Windows Technology Blog http://thecustomizewindows.com

Official website of WebScaleSQL is : http://webscalesql.org/

But, we do not need the official website, but the Github repository : https://github.com/webscalesql/webscalesql-5.6/tree/webscalesql-5.6.16

2 / 4 The Customize Windows Technology Blog http://thecustomizewindows.com

Do you know that, PostgreSQL; one of the most popular noSQL database actually can be used instead of MySQL for WordPress? MariaDB is constantly merged with MySQL community edition. Instead of writing vague collected data on WebScaleSQL, let us install WebScaleSQL.

WebScaleSQL : Installation

In order to test WebScaleSQL, we will need the following dependencies :

+ cmake + gcc + libaio-dev + libncurses5-dev + libreadline- dev + bison + git +

I believe, WebScaleSQL is not intended for use on a VirtualBox as a Virtual Appliance. Install the dependencies first : sudo apt-get install cmake gcc libaio-dev libncurses5-dev libreadline- dev bison git perl

or sudo install cmake gcc libaio-dev libncurses5-dev libreadline-dev bis on git perl # can be homebrew, yast, yum etc. # sudo might not be r equired or be refused depending upon your setup

WebScaleSQL has no binaries, cloning the git work out of the box : git clone https://github.com/webscalesql/webscalesql-5.6.git . # Note , there is a dot

We are just mentioning the commands, these are quite basic :

# look at http://dev.mysql.com/doc/mysql-sourcebuild-excerpt/5.5/en/s ource-configuration-options.html # Add group users groupadd mysql u

3 / 4 The Customize Windows Technology Blog http://thecustomizewindows.com

seradd -r -g mysql mysql # cd and cmake with one command cd && cm ake . # there might be errors, simply rm -r CmakeCache.txt # make and install make && sudo make install # cd to /usr/local/mysql/ to heck whether things are nice cd /usr/local/mysql # change ownership sudo chown -R mysql . && sudo chgrp -R mysql . # grant sudo /usr/lo cal/mysql/scripts/mysql_install_db –defaults-file=/usr/local/mysql/my. cnf --user=mysql # we need to edit the .cnf file nano /usr/local/mys ql/my.cnf # add at the end of the file and save it [ ^ + O ] and exit [ ^ + X ] socket=/var/run/mysqld/mysqld.sock # add as daemon sudo cp /usr/local/mysql/support-files/mysql. /etc/init.d/mysql.serve r # start the server sudo /usr/local/mysql/bin/mysqld_safe

It is a pure fork of mysql, although the giants say -- there are branches. So inferior quality copy- paste of MySQL Server 5.6 README.md as official README.md is difficult to find on Github Projects.

4 / 4

Powered by TCPDF (www.tcpdf.org)