wix-incubator / wix-embedded-mysql

embedded mysql based on https://github.com/flapdoodle-oss/de.flapdoodle.embed.process
BSD 3-Clause "New" or "Revised" License
383 stars 83 forks source link

unable to start MySQL8 in Linux #185

Open jakemonO opened 4 years ago

jakemonO commented 4 years ago

nutshell: MySQL expects the lib dependencies to be in the bin folder. Otherwise it won't start (at least on Linux)

see my comment: https://github.com/wix/wix-embedded-mysql/pull/183#discussion_r359986926

radai-rosenblatt commented 4 years ago

im not sure if i get this for the same reason or not. in my case it manifests as

mysqld: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

borsch commented 4 years ago

@viliusl any plans to fix this? I faced with the same problem as @radai-rosenblatt does

aoxa commented 4 years ago

I am facing the same issue on ubuntu. What I did was to create a symlink on the usr libs to the ones that got extracted during the deamon install, that bypassed the issue, still I get a timeout when trying to connect to the db. Anyways, the 1.0.0 was removed due to security risks, is there any possibility that an upgrade to use 1.1 will be done?

jakemonO commented 4 years ago

The maintainers are unresponsive. I think we may have to fork


From: Pedro Zuppelli notifications@github.com Sent: Sunday, June 14, 2020 12:34 AM To: wix/wix-embedded-mysql wix-embedded-mysql@noreply.github.com Cc: jakemonO gimleteyes@hotmail.com; Author author@noreply.github.com Subject: Re: [wix/wix-embedded-mysql] unable to start MySQL8 in Linux (#185)

I am facing the same issue on ubuntu. What I did was to create a symlink on the usr libs to the ones that got extracted during the deamon install, that bypassed the issue, still I get a timeout when trying to connect to the db. Anyways, the 1.0.0 was removed due to security risks, is there any possibility that an upgrade to use 1.1 will be done?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/wix/wix-embedded-mysql/issues/185#issuecomment-643717231, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAC5BEJMO6N66CW3BNMYY5DRWRHLZANCNFSM4J5MIYBQ.

jorpiell commented 4 years ago

I've migrated my code to MariaDB4j. I've changed the code in less than one hour and all my tests are working again using an embedded database.