How to install and configure MySQL 8 Community in Oracle Linux 8 from Generic package (zip install)

Channel:
Subscribers:
5,740
Published on ● Video Link: https://www.youtube.com/watch?v=jo8_fMJTfWc



Duration: 0:00
3 views
0


In this video we are going to see how to install and configure MySQL 8.0.41 Community edition in
Oracle Linux 8 from Generic package (from tar.xz file).

1. download the mysql 8 as tar.xz or .tar file.
2. Unzip to /opt directory and rename it.
3. create two directories mysql-data for data and mysql-logs for logs.
4. Add the bin directory to Linux PATH variable in .bash_profile (for local user) or under /etc/profile.d (for global access).
5. check the mysql version. Start initializing the mysql database. Copy the temporary password generated in log file.

mysqld --initialize --datadir=/opt/mysql-8-data --port=3306 --log-error=/opt/mysql-8-logs/mysql.log

grep 'temporary password' /opt/mysql-8-logs/mysql.log

6. start the database.

mysqld --datadir=/opt/mysql-8-data --port=3306 --log-error=/opt/mysql-8-logs/mysql.log

7. Login to mysql using temporary password and change the password. Login once again with modified password.
8. Work with sql queries as uaual.
9. To shutdown use mysqladmin tool by providing the mysql's root password.

mysqladmin -uroot -p shutdown

10. if you want to uninstall mysql. just delete all the mysql folder;s and remove the bin directory from linux path variable. thats it.


#mysql8 #installmysql8 #setupmysql8 #mysqllinux #uninstallmysql #EL8




Other Videos By java frm


2025-03-19How to install and configure MySQL 8.0 Community in Alma Linux 9 from Generic package (zip install)
2025-03-19How to install and configure MySQL 9.2 Community in Rocky Linux 9 from Generic package
2025-03-19How to install and configure MySQL 8.4 Community in Rocky Linux 9 from Generic package
2025-03-19How to install and configure MySQL 8.0 Community in Rocky Linux 9 from Generic package
2025-03-18How to install and configure MySQL 9.2 Community in Oracle Linux 9 from Generic package
2025-03-18How to install and configure MySQL 8.4 Community in Oracle Linux 9 from Generic package
2025-03-18How to install and configure MySQL 8.0 Community in Oracle Linux 9 from Generic package
2025-03-18How to install and configure MySQL 9.2 Community in RHEL 8 from Generic package (zip install)
2025-03-18How to install and configure MySQL 8.4 Community in RHEL 8 from Generic package (zip install)
2025-03-18How to install and configure MySQL 8.0 Community in RHEL 8 from Generic package (zip install)
2025-03-17How to install and configure MySQL 8 Community in Oracle Linux 8 from Generic package (zip install)
2025-01-08How to install Firebird 5 Database in Windows 11 and connect with FlameRobin database admin tool
2025-01-08How to install Golang 1.23 on Alpine Linux 3.21 from zip archive - GO 1.23 installation on Linux
2025-01-08How to install Golang 1.22 on Alpine Linux 3.21 from zip archive - GO 1.22 installation on Linux
2025-01-08How to install Golang 1.21 on Alpine Linux 3.21 from zip archive - GO 1.21 installation on Linux
2025-01-05How to install Java in Alpine Linux 3.21 (2025) - Eclipse Temurin JDK 21 installation from zip file
2025-01-04How to install and run Podman 4.9 in Ubuntu 24.04 LTS and create local podman registry
2025-01-04How to install and run Podman 4.9 in Linux Mint 22 and create local podman registry
2025-01-04How to run Podman 5.2 in Fedora 41 and create local podman registry - 2025
2025-01-04How to run Podman 5.2 in Rocky Linux 9.5 and create local podman registry - 2025
2025-01-04How to run Podman 5.2 in RHEL 9.5 and create local podman registry - 2025