Created
January 22, 2012 20:28
-
-
Save kamermans/1658660 to your computer and use it in GitHub Desktop.
Install MySQL PCRE (Perl-Compatible Regular Expression) UDF on Amazon Linux / CentOS / RedHat / Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# UDF Documentation: http://www.mysqludf.org/lib_mysqludf_preg/ | |
yum -y install pcre-devel gcc make automake mysql-devel | |
wget http://www.mysqludf.org/lib_mysqludf_preg/lib_mysqludf_preg-1.0.1.tar.gz | |
tar -zxvf lib_mysqludf_preg-1.0.1.tar.gz | |
cd lib_mysqludf_preg-1.0.1 | |
./configure | |
make install | |
echo "You'll need to enter your MySQL password a few times to install the UDFs and test them" | |
mysql -p < installdb.sql | |
make test |
santushet
commented
May 13, 2016
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment