Installing, Configuring, Using and Troubleshotting MYSQL/MARIADB
Why this change is needed: Restructuring a bit all this stuff, According to this askfedora Question: https://ask.fedoraproject.org/t/problem-installing-mysql-in-fedora-31/3908 https://ask.fedoraproject.org/t/mysql-wont-start-after-upgrade/291 What this change accomplishes: * Open Database toolbar for Next Step : review FIXME progrestSQL * Installation (include container) * Configuring * Using * Troubleshooting
This commit is contained in:
parent
11311fb1b5
commit
4912dc5630
11 changed files with 391 additions and 110 deletions
|
@ -0,0 +1,51 @@
|
|||
[id='install-from-oracle-mysql']
|
||||
= Install from Oracle MySql
|
||||
|
||||
include::{partialsdir}/3rdparty-message.adoc[]
|
||||
|
||||
== Adding the MySQL repository to Fedora
|
||||
|
||||
----
|
||||
sudo dnf install https://repo.mysql.com//mysql80-community-release-fc31-1.noarch.rpm
|
||||
----
|
||||
|
||||
== 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
|
||||
----
|
Loading…
Add table
Add a link
Reference in a new issue