EnterpriseDB / mysql_fdw

PostgreSQL foreign data wrapper for MySQL
Other
521 stars 160 forks source link

Example needs SELinux steps #270

Open dveeden opened 1 year ago

dveeden commented 1 year ago

On Fedora 37 with a default install of PostgreSQL 14.3 the steps in the example fail as it can't open the network connection due to the restrictive SELinux policy.

With the default policy a query on a fdw table returns error 13 (permission denied).

This can be fixed by running sudo semanage permissive -a postgresql_t

It might be enough to put a notice in there about checking (or disabling) SELinux. It might not be obvious to many that SELinux is causing the failure.