pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
$libdir/mysql_fdw
4+ messages / 3 participants
[nested] [flat]

* $libdir/mysql_fdw
@ 2015-08-27 17:46  Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
  0 siblings, 2 replies; 4+ messages in thread

From: Ryan King - NOAA Affiliate @ 2015-08-27 17:46 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; pgsql-admin

When attempting to create the required functions and extensions for the
MySQL FDW, I get the following errors:

dbname=# CREATE FUNCTION mysql_fdw_handler()
RETURNS fdw_handler
AS '$libdir/mysql_fdw'
LANGUAGE C STRICT;

ERROR:  could not access file "$libdir/mysql_fdw": No such file or directory

dbname=# CREATE EXTENSION mysql_fdw;

ERROR:  could not open extension control file
"/usr/pgsql-9.4/share/extension/mysql_fdw.control": No such file or
directory

What needs to be installed for this to work?

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [GENERAL] $libdir/mysql_fdw
@ 2015-08-27 18:25  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
  1 sibling, 0 replies; 4+ messages in thread

From: Adrian Klaver @ 2015-08-27 18:25 UTC (permalink / raw)
  To: Ryan King - NOAA Affiliate <ryan.king@noaa.gov>; pgsql-general@postgresql.org; pgsql-admin

On 08/27/2015 10:46 AM, Ryan King - NOAA Affiliate wrote:
> When attempting to create the required functions and extensions for the
> MySQL FDW, I get the following errors:
>
> dbname=# CREATE FUNCTION mysql_fdw_handler()
> RETURNS fdw_handler
> AS '$libdir/mysql_fdw'
> LANGUAGE C STRICT;
>
> ERROR:  could not access file "$libdir/mysql_fdw": No such file or directory
>
> dbname=# CREATE EXTENSION mysql_fdw;
>
> ERROR:  could not open extension control file
> "/usr/pgsql-9.4/share/extension/mysql_fdw.control": No such file or
> directory
>
> What needs to be installed for this to work?
>

How did you install Postgres and/or mysql_fdw?

If from source I would say your are missing the make install step:

https://github.com/EnterpriseDB/mysql_fdw

http://pgxn.org/dist/mysql_fdw/

>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: $libdir/mysql_fdw
@ 2015-10-21 11:04  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
  1 sibling, 1 reply; 4+ messages in thread

From: Devrim GÜNDÜZ @ 2015-10-21 11:04 UTC (permalink / raw)
  To: Ryan King - NOAA Affiliate <ryan.king@noaa.gov>; pgsql-general@postgresql.org; pgsql-admin


Hi,

On Thu, 2015-08-27 at 12:46 -0500, Ryan King - NOAA Affiliate wrote:
> ERROR:  could not access file "$libdir/mysql_fdw": No such file or
> directory
> 
> dbname=# CREATE EXTENSION mysql_fdw;
> 
> ERROR:  could not open extension control file
> "/usr/pgsql-9.4/share/extension/mysql_fdw.control": No such file or
> directory
> 
> What needs to be installed for this to work?

Looks like you installed PostgreSQL using the community RPMs -- so make
sure that you used the RPM of mysql_fdw:

yum install mysql_fdw_94

would do the trick.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: $libdir/mysql_fdw
@ 2015-10-21 18:52  Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
  parent: Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Ryan King - NOAA Affiliate @ 2015-10-21 18:52 UTC (permalink / raw)
  To: Devrim GÜNDÜZ <devrim@gunduz.org>; +Cc: pgsql-general@postgresql.org; pgsql-admin

Hi Devrim, I have already installed that:
"Package mysql_fdw_94-2.0.1-1.rhel6.x86_64 already installed and latest
version..."
We're looking into some other options though. Thanks though.

Ryan King
Internet Dissemination Group, Kansas City
Shared Infrastructure Services Branch
National Weather Service
Contractor / Ace Info Solutions, Inc.

On Wed, Oct 21, 2015 at 6:04 AM, Devrim GÜNDÜZ <devrim@gunduz.org> wrote:

>
> Hi,
>
> On Thu, 2015-08-27 at 12:46 -0500, Ryan King - NOAA Affiliate wrote:
> > ERROR:  could not access file "$libdir/mysql_fdw": No such file or
> > directory
> >
> > dbname=# CREATE EXTENSION mysql_fdw;
> >
> > ERROR:  could not open extension control file
> > "/usr/pgsql-9.4/share/extension/mysql_fdw.control": No such file or
> > directory
> >
> > What needs to be installed for this to work?
>
> Looks like you installed PostgreSQL using the community RPMs -- so make
> sure that you used the RPM of mysql_fdw:
>
> yum install mysql_fdw_94
>
> would do the trick.
>
> Regards,
> --
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
>
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2015-10-21 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-27 17:46 $libdir/mysql_fdw Ryan King - NOAA Affiliate <ryan.king@noaa.gov>
2015-08-27 18:25 ` Adrian Klaver <adrian.klaver@aklaver.com>
2015-10-21 11:04 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2015-10-21 18:52   ` Ryan King - NOAA Affiliate <ryan.king@noaa.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox