Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create extensions failed #306

Open
aolaog opened this issue May 17, 2024 · 1 comment
Open

create extensions failed #306

aolaog opened this issue May 17, 2024 · 1 comment

Comments

@aolaog
Copy link

aolaog commented May 17, 2024

Hi, i had compile mysql_fdw source code completely. And i had start my postgresql ,but execute command:
CREATE EXTENSION mysql_fdw;
occured below errors:
postgres=# CREATE EXTENSION mysql_fdw;
ERROR: failed to load the mysql query:
(null)
HINT: Export LD_LIBRARY_PATH to locate the library.

i had add mysql's libs to /etc/ld.so.conf.d/mysql.conf:
/opt/software/mysql-8.3.0/lib
/opt/software/mysql-8.3.0/lib/private
/opt/software/mysql-8.3.0/lib/plugin
/opt/software/mysql-8.3.0/lib/private/sasl2

all is likely normal, but get errors. i had try reinstall mysql_fdw on another server, get the same error? any one can help me ? thanks.
Postgresql version: 15.5
mysql version: 8.3.0
mysql_fdw version: 2.9.0 or 2.9.1

i also review the mysql_fdw's source , and found in mysql_fdw.c has 'failed to load the mysql query' at _PG_init()

1715929124783

@surajkharage19
Copy link

Hi @aolaog,

Can you please try the steps mentioned by @nanren8bang on #295 (comment) as he was facing the same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants