MySQL 5 6 and Workbench On Oracle Linux 6 Using YUM
MySQL 5 6 and Workbench On Oracle Linux 6 Using YUM
Introduction............................................................................................................................................. 2
Check Previous MySQL Files .................................................................................................................... 2
Enabling Oracle Public YUM Repository .................................................................................................. 2
EPEL Repository Setup............................................................................................................................. 2
MySQL YUM Setup .................................................................................................................................. 3
MySQL-Workbench Packages .................................................................................................................. 6
MySQL Startup........................................................................................................................................ 9
MySQL Configuration ............................................................................................................................ 10
MySQL-Workbench Configuration ........................................................................................................ 11
Oracle Linux 6 Installation Link .............................................................................................................. 13
Introduction
Step by step installation process to install MySQL 5.6 (fresh installation) on Oracle Linux (6.4)
Virtual Machine using YUM method
This should apply to most RHEL Clones, but you can test for yourself
The OS/VM connects to the internet
Bare minimum screenshots are used that means just the required part to keep going
The EPEL repository is downloaded and you can install it using the same instruction on the
link or using 'YUM'
Below you see both were downloaded
To play around I enabled tools and all the related to MySQL 5.7, no harm to do this
Agree with a 'y' for the installation and for the keys
MySQL-Workbench Packages
The below packages are needed to get MySQL-Workbench working
The steps below guide you to verify and also to install them
You can have a check first and install them. All these 'i.686, devel ' are to be installed
You can have a check first and install them. All these 'i.686, devel ' are to be installed
You can have a check first and install them. All these 'i.686, devel ' are to be installed
You can have a check first and install them. All these 'i.686, devel ' are to be installed
You can have a check first and install them. All these 'i.686, devel ' are to be installed
Note: The packages related to "proj" exists. No need for "proj-epsg" etc that shows up
You can have a check first and install them. All these 'i.686, devel ' are to be installed
Additionally you need the below package "gtk2-devel" too. Install it if you get the below
error when you start up MySQL-Workbench
MySQL Startup
MySQL Configuration
The first and foremost basic configurations for MySQL Server
Assuming the firewall is enabled, the default port 3306 is not enabled. So, this is a basic step
to make it enabled and save it
MySQL-Workbench does need it
Open the file "vi /etc/my.cnf" and add the following lines, in bind-address you should enter
the Server IP there (Static IP in my case if you have IP coming from DHCP then you ignore
this line and verify for yourself)
MySQL-Workbench Configuration
The default connection is present already, but we got to change it, right click on this
connection
The below setting is the default for Linux, you select the Oracle Linux in 'System Type' for
the right settings (Note : for default Linux system type you see it is /etc/init.d/mysql start
which does allow you to start and stop on Oracle Linux )