You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# cd /usr/local/src/
# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.19.tar.gz
# tar xvfz mysql-5.6.19.tar.gz
# cd /usr/local/src/mysql-5.6.19
Build mysql
# mkdir build
# cd build
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/mysql
# make
# make install
Initial Setup
Create group and user
# groupadd mysql
# useradd -g mysql -d /usr/local/mysql mysql
[client]
socket=/tmp/mysql.sock
[mysqld]
datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
socket=/tmp/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
collation-server=utf8_unicode_ci
character-set-server=utf8
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
There isnt a mysql.sock file inside /tmp so its forming an error. Can you please help me with it?