mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Update out-dated information and aesthetic change for Databases
What this change accomplishes: 1. Move PostgreSql to Database Section 2. Remove Tips and Trips in PostgreSQL and move to the following 3. Add manage-sql-server.adoc and add GUI for Mysql/MariaDB/PostgreSQL 4. Add install information phpPgadmin because in fedora 33 is out of repo.
This commit is contained in:
parent
95b04ba9d6
commit
aef253e2e3
3 changed files with 105 additions and 19 deletions
|
@ -83,7 +83,6 @@
|
|||
* xref:openh264.adoc[OpenH264]
|
||||
* xref:package-management.adoc[Package management system]
|
||||
* xref:packagekit-not-found.adoc[PackageKit Items Not Found]
|
||||
* xref:postgresql.adoc[PostgreSQL]
|
||||
//FIXME * xref:uefi-with-qemu.adoc[Using UEFI with QEMU]
|
||||
* xref:upgrading-fedora-online.adoc[Upgrading Fedora using package manager]
|
||||
|
||||
|
@ -93,6 +92,8 @@
|
|||
|
||||
* Databases
|
||||
** xref:installing-mysql-mariadb.adoc[Installing, Configuring and Troubleshooting MySql/MariaDB]
|
||||
** xref:postgresql.adoc[PostgreSQL]
|
||||
** xref:manage-sql-server.adoc[How to Manage your SQL Server from GUI]
|
||||
|
||||
* FAQ
|
||||
** xref:fedora-and-red-hat-enterprise-linux.adoc[Difference between Fedora and Red Hat Enterprise Linux]
|
||||
|
|
103
modules/ROOT/pages/manage-sql-server.adoc
Normal file
103
modules/ROOT/pages/manage-sql-server.adoc
Normal file
|
@ -0,0 +1,103 @@
|
|||
== How to Manage SQL SERVER from GUI
|
||||
|
||||
For database management, it is more user-friendly to use graphical tools:
|
||||
|
||||
- MySQL/Mariadb:
|
||||
|
||||
** phpMyAdmin.noarch : A web interface for MySQL and MariaDB
|
||||
|
||||
----
|
||||
sudo dnf install phpMyAdmin
|
||||
----
|
||||
|
||||
- MySQL Specific:
|
||||
|
||||
** MySQL Workbench is a unified visual tool for database architects, developers, and DBAs.
|
||||
|
||||
- Mixed:
|
||||
|
||||
** DBeaver Community Universal Database Manager.
|
||||
|
||||
----
|
||||
flatpak install io.dbeaver.DBeaverCommunity
|
||||
----
|
||||
|
||||
** PostgreSQL client for DBeaver Community
|
||||
|
||||
----
|
||||
flatpak install io.dbeaver.DBeaverCommunity.Client.pgsql
|
||||
----
|
||||
|
||||
** MariaDB client for DBeaver Community
|
||||
|
||||
----
|
||||
flatpak install io.dbeaver.DBeaverCommunity.Client.mariadb
|
||||
----
|
||||
|
||||
- PostgreSQL:
|
||||
|
||||
** pgadmin3 Graphical client for PostgreSQL
|
||||
|
||||
----
|
||||
sudo dnf install pgadmin3
|
||||
----
|
||||
|
||||
** phpPgAdmin - A web interface for PostgreSQL
|
||||
|
||||
for Fedora <= 32
|
||||
|
||||
----
|
||||
sudo dnf install phpPgAdmin
|
||||
----
|
||||
|
||||
for Fedora >= 33
|
||||
|
||||
[[installation]]
|
||||
=== Installation
|
||||
|
||||
The installation of the postgresql GUI web-server is a little bit different
|
||||
in comparison to older Fedora because the package is out of the repo.
|
||||
|
||||
1. We assume you have php installed on your server and Working.
|
||||
|
||||
2. Download the latest from GitHub repo:
|
||||
|
||||
https://github.com/phppgadmin/phppgadmin/releases
|
||||
|
||||
----
|
||||
sudo tar xf phpPgAdmin-x.y.z.tar.bz2 -C /var/www/phpPgadmin
|
||||
----
|
||||
|
||||
In order to make phpPgAdmin navigable, we create a configuration file for the web service (Apache in this case):
|
||||
|
||||
----
|
||||
sudo nano /etc/httpd/conf.d/phpPgAdmin.conf
|
||||
----
|
||||
|
||||
The content will be an alias that will point to the installation path of
|
||||
the application:
|
||||
|
||||
----
|
||||
Alias /phppgadmin /var/www/phpPgAdmin
|
||||
----
|
||||
|
||||
Save the file and Reload the Web Service:
|
||||
|
||||
----
|
||||
sudo systemctl reload httpd
|
||||
----
|
||||
|
||||
phpPgAdmin requires the presence in Fedora 31 of certain PHP extensions,
|
||||
mainly the one that allows the connection with the database service, which
|
||||
we will install from the system repositories:
|
||||
|
||||
----
|
||||
sudo dnf install -y php-pgsql
|
||||
----
|
||||
|
||||
To access the web installer of phpPgAdmin in Fedora from a browser we will
|
||||
indicate the IP address or DNS name of the server followed by the alias we
|
||||
have defined and follow the steps requested.
|
||||
|
||||
See a typo, something missing or out of date, or anything else which can be
|
||||
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.
|
|
@ -118,24 +118,6 @@ should be fixed already.
|
|||
You can also upgrade by dumping your database and loading it again. For
|
||||
more information, see the link:#link-upgrade[official documentation].
|
||||
|
||||
[[tips-and-tricks]]
|
||||
== Tips and tricks
|
||||
|
||||
For database management, it is more user-friendly to use graphical tools such as
|
||||
phpPgAdmin or pgadmin3
|
||||
|
||||
....
|
||||
$ sudo yum install phpPgAdmin
|
||||
$ sudo yum install pgadmin3
|
||||
....
|
||||
|
||||
Or with dnf in Fedora 22 and later versions:
|
||||
|
||||
....
|
||||
$ sudo dnf install phpPgAdmin
|
||||
$ sudo dnf install pgadmin3
|
||||
....
|
||||
|
||||
[[firewall]]
|
||||
== Firewall
|
||||
|
||||
|
|
Loading…
Reference in a new issue