Professional Documents
Culture Documents
Introduction............................................................................................................................................. 2
Check Previous MySQL Files .................................................................................................................... 2
Enabling Oracle Public YUM Repository .................................................................................................. 2
EPEL Repository Setup............................................................................................................................. 2
MySQL YUM Setup .................................................................................................................................. 3
MySQL-Workbench Packages .................................................................................................................. 5
MySQL (5.7) Installation .......................................................................................................................... 7
MySQL-Workbench Installation .............................................................................................................. 8
Verify Everything From Repository Cache ............................................................................................... 9
MySQL (5.7)Password Setup ................................................................................................................... 9
MySQL-Workbench Configuration ........................................................................................................ 10
Oracle Linux 6 Installation Link .............................................................................................................. 13
Introduction
Step by step installation process to install MySQL 5.7 (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
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
Additionally you need the below package "gtk2-devel" too. Install it if you get the below
error when you start up MySQL-Workbench
If the above package is not installed, you get the below error
MySQL-Workbench Installation
Verify and install
Assign a new password to MySQL Root User (must be strong, an example is below)
MySQL-Workbench Configuration
Start the Workbench
The default connection is present already, but we got to change it, right click on this
connection
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)
This is a new section "Performance Tab" available from MySQL 5.6 onwards