quick-docs/modules/ROOT/pages/_partials/proc_installing-mysql-from-oracle.adoc

59 lines
1.4 KiB
Text
Raw Normal View History

[id='install-from-oracle-mysql']
= Install from Oracle MySQL
include::{partialsdir}/3rdparty-message.adoc[]
== Adding the MySQL repository to Fedora
Please download the release package provided by Oracle from: https://dev.mysql.com/downloads/repo/yum/
Once downloaded, please install it using dnf:
----
sudo dnf install <path to downloaded rpm>
----
Please note that this repository is provided by Oracle
so any issues/bugs encountered will need to be reported to them
via their communication channels: https://www.mysql.com/about/faq/
== Installing MySQL on Fedora
----
sudo dnf install mysql-community-server
----
== Start MySQL Service and Enable at Loggin:
----
sudo systemctl start mysqld
sudo systemctl enable mysqld
----
find Default Password, For security reasons, MySQL generates a temporary root key. Please note that MySQL has even stricter security policies than MariaDB.
----
sudo grep 'temporary password' /var/log/mysqld.log
----
== Configuring MySQL before the first use
----
sudo mysql_secure_installation
----
Then, answer the security questions as you prefer. or just say **yes** to all of them.
== Using MYSQL
----
sudo mysql -u root -p
----
== Removing MySQL
I suggest to remove in the following way, the most appropriate and safe way without removing many dependencies is:
----
sudo rpm -e --nodeps mysql-community-libs mysql-community-common mysql-community-server
----