Installing
-
2. Downloading MySQL Server
Download Latest MySQL Server for Ubuntu
-
3. Installing MySQL Server
Then to Install MySQL Server
First, access the Download location by default with:cd ~/Downloads
To Check it’s there List the contents with:
ls . | grep mysql
The grep Command refine the output List showing only the Entries matching the Keyword.
But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.sudo apt install ./mysql*debian*.deb
Post-Installation Configuration.
groupadd mysql
useradd -r -g mysql mysql
chown -R mysql:mysql /opt/mysql
/opt/mysql/server*/scripts/mysql_install_db --user=mysql
chown -R root /opt/mysql
chown -R mysql /opt/mysql/server*/data
-
4. Setting Up PATH
So then again to Set the User PATH
Run in succession the following Commands:su `whoami`
cd
nano .bashrc
Append:
export PATH=$PATH:/opt/mysql/server-[Version]/bin
Ctrl+x to Save & Exit from nano :)
Load the New PATH with:
bash
-
5. Launching MySQL Server
In case to Start the MySQL Server
Run:sudo su -c "mysqld_safe --user=mysql &"
-
6. MySQL Server Secure SetUp
Strongly Recommended MySQL Server Secure SetUp
Contents
Tags: Install MySQL Server Ubuntu 14.04, Install MySQL Server Ubuntu Trusty, Install MySQL Ubuntu 14.04, Install MySQL Ubuntu Trusty, MySQL Install Ubuntu 14.04, MySQL Install Ubuntu Trusty, MySQL Server Install Ubuntu 14.04, MySQL Server Install Ubuntu Trusty, MySQL Server Ubuntu 14.04, MySQL Server Ubuntu 14.04 Install, MySQL Server Ubuntu 14.04 Installation, MySQL Server Ubuntu 14.04 Setup, MySQL Server Ubuntu Trusty, MySQL Server Ubuntu Trusty Install, MySQL Server Ubuntu Trusty Installation, MySQL Server Ubuntu Trusty Setup, MySQL Ubuntu 14.04, MySQL Ubuntu 14.04 Install, MySQL Ubuntu 14.04 Installation, MySQL Ubuntu 14.04 Setup, MySQL Ubuntu Trusty, MySQL Ubuntu Trusty Install, MySQL Ubuntu Trusty Installation, MySQL Ubuntu Trusty Setup, Setup MySQL Server Ubuntu 14.04, Setup MySQL Server Ubuntu Trusty, Setup MySQL Ubuntu 14.04, Setup MySQL Ubuntu Trusty, Ubuntu 14.04 Install MySQL, Ubuntu 14.04 Install MySQL Server, Ubuntu 14.04 MySQL, Ubuntu 14.04 MySQL Installation, Ubuntu 14.04 MySQL Server, Ubuntu 14.04 MySQL Server Installation, Ubuntu Trusty Install MySQL, Ubuntu Trusty Install MySQL Server, Ubuntu Trusty MySQL, Ubuntu Trusty MySQL Installation, Ubuntu Trusty MySQL Server, Ubuntu Trusty MySQL Server Installation