how to installing postage sql and pgAdmin in fedora using command line or using dnf package manager
sudo dnf install @sql-server pgadmin3
error:
$ sudo postgresql-setup initdb
WARNING: using obsoleted argument syntax, try --help
WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql
- Initializing database in ā/var/lib/pgsql/dataā
ERROR: Data directory /var/lib/pgsql/data is not empty!
ERROR: Initializing database failed, possibly see /var/lib/pgsql/initdb_postgresql.log
i am new to linux world (fedora )
so can any one give step by step instruction to install postage sql
I donāt use postgresql, but from the error, it says that it failed because your /var/lib/pgsql/data
directory is not empty. Does that directory contain any important data? If not, can you remove it and try again?
are you using my sql
No, I donāt use any database.
Iām mariadb userā¦but thisās comment ā¦very userful!..thanks!
thank you i successfully installed postgresql
whats are the things do after installing postgresql like setting password and how to install pgadmin in fedora 31