Hi Folks
I have got nginx+php+percona working on OSX-10.6.8. I have not done any performance testing, but quite excited to have got it to work.
Created a database, a table and inserted some data all through php/nginx and verified that it got to percona via the command-line and php.
The details of the software:
./nginx -V
nginx version: nginx/1.5.6
built by gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Source: [url]http://nginx.org/en/download.html[/url]
FileName: nginx-1.5.6.tar.gz
= * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * =
PHP - 5.5.5 for OS X - 10.6
Binary : [url]http://php-osx.liip.ch/#install[/url]
Command : curl -s [url]http://php-osx.liip.ch/install.sh[/url] | bash -s 5.5
Installs in /usr/local/php5
(You can down the binaries or compile from sources)
Sources : [url]PHP: Downloads
FileName: php-5.5.5.tar.bz2
Build Date Nov 8 2013 23:08:55
= * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * = * =
Percona : [url]http://www.percona.com/downloads/Percona-Server-5.6/\[/url]
Percona-Server-5.6.14-rel62.0/release-5.6.14-62.0/483/source/
Filename: Percona-Server-5.6.14-rel62.0.tar.gz
mysql> SHOW VARIABLES LIKE “%version%”;
±------------------------±-----------------------------+
| Variable_name | Value |
±------------------------±-----------------------------+
| innodb_version | 5.6.14-60.3 |
| protocol_version | 10 |
| version | 5.6.14 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | osx10.6 |
±------------------------±-----------------------------+
The only error I saw right of the bat is the “innodb_version” says 5.6.14-60.3 even though the release
of Percona that I downloaded is “5.6.14-62.0”. Are they related in any way or is that a slip.
Regards
RJR
Some Issues while compiling Percona:
I got a number of “has no symbols” while linking static libraries like libstrings.a,
libmysys.a, libinnobase.a and others including libmysqlclient.a
I have displayed a few lines from the output for libmysqlclient.a (for brevity),
let me know if you need the output for others too.
Linking C static library libmysqlclient.a
/usr/bin/ranlib: file: libmysqlclient.a(mysqlclient_depends.c.o) has no symbols
/usr/bin/ranlib: file: libmysqlclient.a(mysqlclient_depends.c.o) has no symbols
PS: If anybody needs any help with getting this to work on OSX-10.6.8 and gcc version 4.2.1/4.6.0
please post your question and let me try to help.