WordPress.org

Forums

WP2Cloud
Possible to fix undefined my_pthread_fastmutex w/o full mysql reinstall? (4 posts)

  1. fawlty04
    Member
    Posted 1 year ago #

    Hi, I've read the other threads that discuss this problem (http://wordpress.org/support/topic/error-during-mysql-plugin-install?replies=15#post-2825921 and http://wordpress.org/support/topic/plugin-wp2cloud-plugin-installation-error-mysql?replies=2#post-3255676) but it seems the only way to fix this is to create a fresh install of MySQL, am I understanding that correctly?

    We're working on a very large production site and the MySQL server also serves a couple other sites at the moment. Reinstalling the server seems like major overkill for something so small and I'd rather not risk it if possible.

    Moving the whole thing to Amazon isn't an option, but we're running out of storage space and need to connect to an S3 as soon as possible.

    Is there a certain file in particular that defines the my_pthread_fastmutex_init function that I can simply overwrite with the official build's version? I have the official build downloaded and unzipped on my computer.

    Thanks!

    https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/

  2. Artem Livshits
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for you interest in WP2Cloud and ClouSE!

    The file that defines my_pthread_fastmutex_init is mysqld -- the binary that is the MySQL server. So if you have an ability to replace that, it should work as far as ClouSE is concerned. You should thoroughly test such configuration, though.

  3. fawlty04
    Member
    Posted 1 year ago #

    Hi Artem!

    Ok, well unfortunately, replacing the mysqld w the official version didn't work.

    I should mention we're using Plesk/CentOS and I read in another thread that you've found the configuration is a bit weird and doesn't work well with the ClouSE install.

    Because MySQL wasn't housed in the usual /usr/local/bin, we were able to just install a new version there, and change where the site looked for MySQL without doing a full uninstall of the original server. We booted up the new install and all the databases seemed in tact, the site runs as expected, etc etc. So I tried again, and ClouSE installed successfully!

    However, now Plesk doesn't work (it would take quite awhile to find all the places where it would need to be pointed to the new install—something I don't fully understand, but our colleague does, please excuse any obtuseness on my end).

    My new question is this:

    Now that ClouSE is installed, would it be possible to switch back to the old MySQL install or will we continue to get the error regarding the undefined my_pthread_fastmutex? This would be the easiest solution for us, obviously, but we're interested enough in your plugin to attempt to point Plesk to the new install if need be.

    Please advise on the best course of action at this point. Thanks again!

  4. Artem Livshits
    Member
    Plugin Author

    Posted 1 year ago #

    I'm glad to hear that you've made some progress!

    To answer your question: the server with my_pthread_fastmutex is required for this build of ClouSE to work, not just during installation.

    Send email to support at oblaksoft dot com and we'll see if we can build ClouSE that is compatible with the server that you have in Plesk.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP2Cloud
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags