mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
Fix MariaDB and MySQL names capitalization
This commit is contained in:
parent
5e9088543f
commit
315032f88c
7 changed files with 12 additions and 12 deletions
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
* Databases
|
* Databases
|
||||||
** xref:postgresql.adoc[PostgreSQL]
|
** xref:postgresql.adoc[PostgreSQL]
|
||||||
** xref:installing-mysql-mariadb.adoc[Installing, Configuring and Troubleshooting MySql/MariaDB]
|
** xref:installing-mysql-mariadb.adoc[Installing, Configuring and Troubleshooting MySQL/MariaDB]
|
||||||
** xref:manage-sql-server.adoc[How to Manage your SQL Server from GUI]
|
** xref:manage-sql-server.adoc[How to Manage your SQL Server from GUI]
|
||||||
|
|
||||||
* Printing and scanning
|
* Printing and scanning
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
= How To Allow Remote Access MYSQL/MariaDB/MYSQL Community
|
= How To Allow Remote Access MySQL/MariaDB/MYSQL Community
|
||||||
|
|
||||||
== Add New Rule to Firewalld
|
== Add New Rule to Firewalld
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ systemctl restart firewalld.service
|
||||||
|
|
||||||
Configuration files:
|
Configuration files:
|
||||||
|
|
||||||
* MySql -> `/etc/my.cnf/`
|
* MySQL -> `/etc/my.cnf/`
|
||||||
* MySql Community -> `/etc/my.cnf.d/community-mysql-server.cnf`
|
* MySQL Community -> `/etc/my.cnf.d/community-mysql-server.cnf`
|
||||||
* MariaDB -> `/etc/my.conf`
|
* MariaDB -> `/etc/my.conf`
|
||||||
|
|
||||||
NOTE: you can ensure that with the following command `rpm -qc [package]`.
|
NOTE: you can ensure that with the following command `rpm -qc [package]`.
|
||||||
|
|
|
@ -18,7 +18,7 @@ At this point you can verify that the available RPM provides the 10.4 verison of
|
||||||
$ dnf list mariadb-server
|
$ dnf list mariadb-server
|
||||||
----
|
----
|
||||||
|
|
||||||
To install mariadb server:
|
To install MariaDB server:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ sudo dnf module install mariadb/server
|
$ sudo dnf module install mariadb/server
|
||||||
|
|
|
@ -13,7 +13,7 @@ podman pull {mysql/mysql-server|mariadb/server}
|
||||||
podman logs {mysql|mariadb}
|
podman logs {mysql|mariadb}
|
||||||
----
|
----
|
||||||
|
|
||||||
== Starting a MYSQL Server Instance
|
== Starting a MySQL Server Instance
|
||||||
|
|
||||||
The command's below contain the random password generated for the root user;
|
The command's below contain the random password generated for the root user;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ you must reset the server root password by issuing this statement:
|
||||||
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';
|
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';
|
||||||
----
|
----
|
||||||
|
|
||||||
== Connecting to Mariadb Server from within the Container
|
== Connecting to MariaDB Server from within the Container
|
||||||
|
|
||||||
----
|
----
|
||||||
podman exec -it mariadb bash
|
podman exec -it mariadb bash
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
[id='install-from-fedora-main-repo']
|
[id='install-from-fedora-main-repo']
|
||||||
= Install from Fedora Main Repo
|
= Install from Fedora Main Repo
|
||||||
|
|
||||||
The community provide a MySql package in the main repo.
|
The community provide a MySQL package in the main repo.
|
||||||
|
|
||||||
----
|
----
|
||||||
sudo dnf install {community-mysql-server|mariadb-server}
|
sudo dnf install {community-mysql-server|mariadb-server}
|
||||||
----
|
----
|
||||||
|
|
||||||
== Configuring MySql/MariaDB
|
== Configuring MySQL/MariaDB
|
||||||
|
|
||||||
Enable the service at boot and start:
|
Enable the service at boot and start:
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ At this point you can verify that the available RPM provides the 10.4 verison of
|
||||||
dnf list mariadb-server
|
dnf list mariadb-server
|
||||||
----
|
----
|
||||||
|
|
||||||
To install mariadb server:
|
To install MariaDB server:
|
||||||
|
|
||||||
----
|
----
|
||||||
sudo dnf module install mariadb/server
|
sudo dnf module install mariadb/server
|
||||||
|
|
|
@ -43,7 +43,7 @@ sudo mysql_secure_installation
|
||||||
|
|
||||||
Then, answer the security questions as you prefer. or just say **yes** to all of them.
|
Then, answer the security questions as you prefer. or just say **yes** to all of them.
|
||||||
|
|
||||||
== Using MYSQL
|
== Using MySQL
|
||||||
|
|
||||||
----
|
----
|
||||||
sudo mysql -u root -p
|
sudo mysql -u root -p
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
For database management, it is more user-friendly to use graphical tools:
|
For database management, it is more user-friendly to use graphical tools:
|
||||||
|
|
||||||
- MySQL/Mariadb:
|
- MySQL/MariaDB:
|
||||||
|
|
||||||
** phpMyAdmin.noarch : A web interface for MySQL and MariaDB
|
** phpMyAdmin.noarch : A web interface for MySQL and MariaDB
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue