MySql 5.6 and missing libmemcached.so - mysql

After update Mysql 5.5 to 5.6 on debian I want start using memchached. In /usr/lib/mysql/plugin/ i do not see libmemcached.so plugin. How i can install this plugin and use?

It does not come as a part of it. You have to build it.

I suggest you to install/update mysql server using the official repository. This way you will have some tools and plugins (such libmemcached.so) installed. I've done it already doing these simple steps:
Download and install the repo: http://dev.mysql.com/downloads/repo/apt/
Switch from debian to official repository and install mysql server 5.6: http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-replacing
You should now have available the libmemcache.so file within the plugins folder and should be able to proceed with the installation of the plugin.

Related

Install Dreamfactory on Xampp

I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.

How to install mysqlbackup?

I would like to use mysqlbackup to do incremental backups. However I can't figure out how to install it.
I have mysql-server installed. The documentation (http://dev.mysql.com/doc/mysql-enterprise-backup/3.7/en/mysqlbackup.incremental.html) seems to suggest it should already be installed but it's not. I'm running mysql on ubuntu.
Mysqlbackup is part of the MySQL Enterprise Backup:
When using the MySQL Enterprise Backup product, you primarily work with the mysqlbackup command.
Enterprise Backup, on the otherhand, is part of the MySQL Enterprise Edition which is available from Oracle store.
sudo apt-get install automysqlbackup
If you use linux.First u can download the install soft from web.
e.g. meb_xxxx.rpm.
Then run the command: rpm -ivh meb_xxxx.rpm
The MEB will install in the path /opt/mysql/meb_xxxx default.
Then u can use the mysqlbackup commande in the ./bin/ directory.
You're in luck, someone recently wrote a comprehensive writeup of how to install automysqlbackup on Ubuntu.
https://gist.github.com/janikvonrotz/9488132
They use a different approach to installing it - not using apt-get, but downloading the source and running the install shell script. I hope this works for you, good luck!

Can you install mySQL Cluster for free?

Can you install mySQL Cluster for free?
http://dev.mysql.com/downloads/cluster/7.0.html#win32
This will only give you the .zip files. But it doesn't contain the MSI installer. without the installer, how do you even have contents under
C:\ProgramData\MySQL\MySQL Server 7.0\data?
I think you have to pay for the MSI in order to install mySQL Cluster properly right?
I tried to unzip the files, follow the instructions, updated the config files, but never work.
Can someone confirm?
Thanks
A couple of options. If you don't mind having an SSH server running on your Windows machines then you can use the new auto-installer from labs.mysql.com.
An alternative is to follow the instructions from http://downloads.mysql.com/tutorials/cluster/mysql_wp_cluster_quickstart_windows.pdf - basically you just manually copy the data files.
Andrew.

Install MySQL on Mac OS X Lion?

I have downloaded the MySQL community server and extracted the files from the .tar file. But how do I install it? I simply cannot find a easy way to to this, or any method for that matter. Or is it already installed after tar xvf MySQL.tar? And also, when installing the .pkg version, shouldn't it create the files anywhere? Finally, the community server is the one used with django right?
Thanks in advance!
I would suggest using the .dmg version. It's an easier way of installing mysql, it can be a pain http://dev.mysql.com/downloads/mysql/
If you are developing and testing, do you really need to use MySQL? You can use sqlite which is bundled with Python.
As Vezu suggested, the best way to get started with the server is to download the binary installer - the mysql-5.5.24-osx10.6-x86.dmg file.
If you plan to use it with Python, you will also need to install MySQLdb for OSX. For that, see this answer for a link to steps you need to follow.

Perl: Is it possible to install Mysql module without having Mysql installation?

I'm trying to install the Mysql module on my development machine but it seems to want a local Mysql installation before it will install.
Is there a work around?
I don't need or want a local installation of Mysql, I'm querying a network machine with the installation.
DBD::mysql is a wrapper around the MySQL client libraries. You will at least need to install a client, just like you would need to a client to connect to a remove MySQL server anyway.
You don't specify what system you're on or how you are trying to install DBD::mysql.
You'll need the client libraries (and if you're installing from CPAN - the source of the client libraries) but you should not need MySQL Server. If on a linux the mysql-server package is a dependency of DBD::mysql, it would be a bug.