Skip to content

in2pire/homebrew-pinba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebrew-Pinba

A repository for Pinba-related brews.

Requirements

  • Homebrew
  • Homebrew-PHP (Optional, for phpXY-pinba brews)
  • Snow Leopard, Lion, Mountain Lion, Mavericks. Untested everywhere else.

Installation

Run the following in your terimnal:

brew tap in2pire/pinba

Then if you are using mysql, run:

brew install mysql-engine-pinba

Or if you are using percona-server, run:

brew install percona-engine-pinba

After installing pinba engine, you need to install the plugin and default tables:

mysql -e "INSTALL PLUGIN pinba SONAME 'libpinba_engine.so';"
mysql -e "CREATE DATABASE pinba;"
# If you are using percona-server
mysql -D pinba < /usr/local/opt/percona-engine-pinba/default_tables.sql
# If you are using mysql
mysql -D pinba < /usr/local/opt/mysql-engine-pinba/default_tables.sql

Optional: If you need PHP extension, run:

brew install phpXY-pinba

with XY is your PHP version (see homebrew/php), don't forget to edit ext-pinba.ini to enable and set pinba server. After that, restart your web server.

Todo

  • Create mariadb-engine-pinba for mariadb

License

Do anything you want :)

About

A repository for Pinba-related brews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages