No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BUILD Bug#21246941 REMOVE BUILD/BUILD_MCCGE.SH FROM THE 5.7 SOURCE TREE Jun 12, 2015
Docs Merging the changes for Bug 1663316 - MYSQL.INFO CONTAINS OUTDATED IN… Apr 16, 2013
client Add the PROTOBUF type in MySQL. Oct 25, 2015
cmake Add bundled protobuf library. Oct 25, 2015
cmd-line-utils/libedit Merge branch 'mysql-5.6' into mysql-5.7 Apr 24, 2015
dbug Bug#21802367: STOP ALLOCATING MEMORY FOR MYSYS THREAD LOCAL STORAGE S… Sep 10, 2015
extra Updated yassl to yassl-2.3.8 Sep 18, 2015
include Add the PROTOBUF type in MySQL. Oct 25, 2015
libbinlogevents Add the PROTOBUF type in MySQL. Oct 25, 2015
libbinlogstandalone Bug#20937654 CANNOT BUILD WITH "-DDISABLE_SHARED=ON" FOR CMAKE BECAUS… Apr 28, 2015
libevent Merge branch 'mysql-5.6' into mysql-5.7 Aug 28, 2015
libmysql Add bundled protobuf library. Oct 25, 2015
libmysqld Add bundled protobuf library. Oct 25, 2015
libservices WL#7947 Service for server sessions Aug 31, 2015
man Adding additional check to check the existence of mysqltest.1 manpage. Mar 13, 2015
mysql-test Add partial support for protobuf repeated fields. Oct 25, 2015
mysys WL#8853 PERFORMANCE_SCHEMA, ADD COLUMN THREADS.THREAD_OS_ID Sep 24, 2015
mysys_ssl Merge branch 'mysql-5.6' into mysql-5.7 Sep 4, 2015
packaging Bug#21900800 - ADD OBSOLETE ON MYSQL-CONNECTOR-C-SHARED AND MYSQL-CO… Sep 30, 2015
plugin Fixed some incomplete copyright headers Sep 15, 2015
protobuf Add bundled protobuf library. Oct 25, 2015
regex Merge /home/tnuernbe/forest/mysql-5.6-20642505 into mysql-5.7 May 18, 2015
scripts Bug#21938432 MYSQL_UPGRADE 5.7.9 FAILS WITH ERROR ON MYSQL.SYS USER O… Oct 9, 2015
sql-common Bug#21672747 ADD MTR OPTION TO RUN ALL CLIENT APPLICATIONS WITH VALGRIND Aug 26, 2015
sql Fix failing tests on release version. Oct 28, 2015
storage Add the PROTOBUF type in MySQL. Oct 25, 2015
strings Bug#20928289: DEFAULT CMAKE EXCLUDES UTF8_5624_1 CHARSET, Jul 1, 2015
support-files Remove old style spec references Mar 13, 2015
testclients Bug#21803314: FIX NEW COMPILATION ERRORS AND WARNINGS WITH CLANG 3.7 Sep 11, 2015
unittest Bug#21802588: INCORRECT FORMAT OF DECIMAL IN BINARY PROTOCOL Sep 11, 2015
vio WL#7947 Service for server sessions Aug 31, 2015
win WL#411: Generated columns Oct 23, 2014
zlib Bug#18187290 ISSUE WITH BUILDING MYSQL USING CMAKE 2.8.12 Apr 28, 2014
.bzrignore WL8406 Remove sql-bench Jul 6, 2015
.gitignore Bug#21490075 REMOVE USELESS SCRIPTS AND PROGRAMS FROM THE TESTS/ DIRE… Jul 24, 2015
BUILD-CMAKE Bug#16328024 BUILD-CMAKE NEEDS TO BE UPDATED TO CORRECT LINK TO MYSQL… Feb 20, 2013
CMakeLists.txt Add bundled protobuf library. Oct 25, 2015
COPYING Use a new version of "COPYING", the GPL text. Mar 4, 2010
Doxyfile-perfschema Fixed miscellaneous doxygen formatting errors. Nov 29, 2012
INSTALL-SOURCE Revert unneccessary upstream diff Jan 14, 2014
INSTALL-WIN-SOURCE Revert unneccessary upstream diff Jan 14, 2014
README - Updated the copyright year in the welcome message for MySQL Jan 6, 2015
README.md Add installation steps in the README file. Mar 17, 2016
VERSION Raise version number after cloning 5.7.8-rc Jul 6, 2015
config.h.cmake WL#8853 PERFORMANCE_SCHEMA, ADD COLUMN THREADS.THREAD_OS_ID Sep 24, 2015
configure.cmake Bug#21785074 BUILD BREAKS IF COMPILED AGAINST OLDER NUMACTL HEADERS Sep 4, 2015

README.md

This tree contains a work-in-progress version of MySQL that has support for Protocol Buffers.

The contributed code is licensed under GPLv2.

Getting started

  1. Install the following packages:

    • On Debian/Ubuntu/Linux Mint run:
      sudo apt-get install -y git g++ cmake bison libncurses5-dev
    • On Red Hat/Fedora/CentOS run:
      sudo yum install git g++ cmake bison ncurses-devel
  2. Clone this repo:
    git clone git@github.com:google/mysql-protobuf.git

  3. Go to mysql-protobuf folder and create a new bin folder:
    cd mysql-protobuf && mkdir bin && cd bin

  4. Compile the project. For that, you have to run cmake and then make:
    cmake .. -DDOWNLOAD_BOOST=1 -DWITH_BOOST=~/boost -DENABLE_DOWNLOADS=1 && make -j8

  5. Create a folder where you'll run mysqld:
    mkdir -p ~/mysql-run && cd ~/mysql-run

  6. Copy mysqld to this folder:
    cp /path/to/mysql-protobuf/bin/sql/mysqld .

  7. Copy errmsg.sys file to share folder:
    mkdir -p share && cp /path/to/mysql-protobuf/bin/sql/share/english/errmsg.sys share/

  8. Create a tmpdir folder:
    mkdir -p tmpdir

  9. Initialize mysqld:
    ./mysqld --initialize-insecure --pid-file=./mysql.pid --basedir=. --datadir=./datadir --tmpdir=$HOME/mysql-run/tmpdir --socket=$HOME/mysql-run/mysqld.sock

  10. Run mysqld:
    ./mysqld --pid-file=./mysql.pid --basedir=. --datadir=./datadir --tmpdir=$HOME/mysql-run/tmpdir --socket=$HOME/mysql-run/mysqld.sock

  11. Open another terminal and connect to mysqld:
    /path/to/mysql-protobuf/bin/client/mysql -u root -S ~/mysql-run/mysqld.sock

For examples of usage, please see our wiki.