Comments on: Installing memcached functions for MySQL https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql Blog by Shlomi Noach Thu, 23 Feb 2012 20:15:41 +0000 hourly 1 https://wordpress.org/?v=5.3.3 By: Paul Thexton https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-71341 Thu, 23 Feb 2012 20:15:41 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-71341 Mysql is looking for the .so file in it’s specific plugin_dir, instead of relying on ld to be able to find the correct .so file.

In a mysql cli, run the command
show variables like ‘plugin_dir’

Use the dir in the query result as your –libdir

]]>
By: Memcached Functions || libmemcached « Yref2's Blog https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-16349 Wed, 04 Aug 2010 10:12:10 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-16349 […] Installing memcached functions for MySQL […]

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-15479 Mon, 05 Jul 2010 11:23:10 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-15479 @Martin,
Joy of open source: a *lot* of compilations and complications. I’ll be happy if you post another comments once you find the solution.

Thanks

]]>
By: Martin https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-15478 Mon, 05 Jul 2010 10:54:38 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-15478 Thx for this great tutorial, I managed finally to compile and install everything on a debian lenny system.

Just the last step doesn’t work, when I try

mysql -u root -p < sql/install_functions.sql

mysql replies that the database is missing and when I add a –database=xxx the mysql replies 'ERROR 1126 (HY000) at line 1: Can't open shared library 'libmemcached_functions_mysql.so' (errno: 22 /usr/lib/mysql/libmemcached_functions_mysql.so: undefined symbol: memcached_string_append)'

Maybe I will find a way, already checked the rights etc.

Some day it will work 🙂

]]>
By: Jo Yo https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-10516 Fri, 12 Feb 2010 20:47:18 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-10516 That’s pretty slick. I like it. I made a UDF too that enables JavaScript to evaluate on MySQL. It could be helpful if you are into UDFs: http://bit.ly/cKA8np

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-5033 Tue, 20 Oct 2009 15:55:33 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-5033 @SailorCTO

Hi,
Thanks for posting. I’m unable at this moment to check this on my current setup, sorry 🙁
Best if you could ping the appropriate forums, or even poke Patrick Galbraith 🙂

Regards

]]>
By: SailorCTO https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-5030 Tue, 20 Oct 2009 14:11:24 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-5030 Nice post. I ran through all the install steps using YUM on my Fedora 10 machine and everything went smoothly, including the loading of UDFs.

I can
SELECT mem_setc(‘mykey’, ‘Some data here’);

…however…when I try to retrieve it with:

SELECT mem_getc(‘mysql’);

it finds the key, but null instead of ‘Some data here’.

Setup:
Fedora 10 – kernel 2.6.27.37-170.2.104.fc10.i686
MySQL 5.0.84

Did I miss something?

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-1783 Sun, 03 May 2009 17:09:28 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-1783 @Pete
Try running
ldconfig –verbose
to see the current search path. Either you put the libraries in one of the listed paths, or you create a sym link, or just add you path to /etc/ld.so.conf

Shlomi

]]>
By: Pete https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-1782 Sun, 03 May 2009 16:29:25 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-1782 I am trying to install the memcache functions againt the packaged mysql-server but no matter what I do it always ends up saying it cannot load the library file when I try to install the functions in the database. I think I must have libdir wrong any ideas what the value should be?

]]>
By: code.openark.org » Blog Archive » Using memcached functions for MySQL; an automated alternative to Query Cache https://shlomi-noach.github.io/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-111 Mon, 15 Dec 2008 05:56:18 +0000 https://shlomi-noach.github.io/blog/?p=316#comment-111 […] (See my previous post on how to install memcached functions for MySQL). […]

]]>