MySQL Connector/Python 2.0.5 GA has been released

2016-10-26 Thread Hery Ramilison

Dear MySQL users,

MySQL Connector/Python 2.0.5 GA is a new GA version of 2.0
release series of the pure Python database driver for MySQL. It
can be used for production environments.

MySQL Connector/Python version 2.0.5 is compatible with MySQL
Server versions 5.5 and greater. Python 2.6 and greater as well as
Python 3.3 and greater are supported. Python 2.4, 2.5 and 3.1, 3.2
are not supported.

MySQL Connector/Python 2.0.5 is available for download from:
  http://dev.mysql.com/downloads/connector/python/#downloads

The ChangeLog file included in the distribution contains a brief summary
of changes in MySQL Connector/Python 2.0.5. For a more complete list of
changes, see below or online at:
  http://dev.mysql.com/doc/relnotes/connector-python/en/

Changes in MySQL Connector/Python 2.0.5 (2016-10-26)

   Bugs Fixed

 * A potential SQL injection vector was eliminated. (Bug
   #22529828, Bug #24816150)

Documentation

The manual of MySQL Connector/Python is available online here:
 http://dev.mysql.com/doc/connector-python/en/index.html

It is also available for download in various formats here:
 http://dev.mysql.com/doc/index-connectors.html

Reporting Bugs

We welcome and appreciate your feedback and bug reports:
 http://bugs.mysql.com/

Enjoy !

On behalf of the MySQL Connector/Python and the MySQL/ORACLE RE Team
Hery Ramilison


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



RE: 5.7.16 compilation fails due to libevent references in xplugin

2016-10-26 Thread Matthew.W.Pitts
Sorry, I should have specified this is on RHEL 6.7

-Original Message-
From: Pitts, Matthew W. 
Sent: Wednesday, October 26, 2016 12:13 PM
To: 'mysql@lists.mysql.com'
Subject: 5.7.16 compilation fails due to libevent references in xplugin

I am trying to compile mysql-boost 5.7.16 from source to run it from a
specific account/directory but I am running into an error [1] that seems to
indicate that a libevent symbol cannot be found. I'm not very familiar with
the mysql source, but it seems to include its own copy of libevent, so this
error seems rather odd. I have been building and running mysql 5.6 versions
in a similar manner, but I want to upgrade to 5.7. I could probably disable
the xplugin build, but I would like to include it for possible future use of
document storage.

[2] shows my cmake configure command and [3] shows the configure output

If this message would be more appropriate for another list, please let me
know.

Any guidance is greatly appreciated.

Thanks,
Matthew Pitts

[1]
[ 66%] Built target protobuf
[ 66%] Built target protoc
Scanning dependencies of target xplugin
[ 66%] Building CXX object
rapid/plugin/x/CMakeFiles/xplugin.dir/ngs/src/time_socket_events.cc.o
/path/to/my/app/home/src/build/mysql/current/rapid/plugin/x/ngs/src/time_soc
ket_events.cc: In member function ‘void
ngs::Time_and_socket_events::break_loop()’:
/path/to/my/app/home/src/build/mysql/current/rapid/plugin/x/ngs/src/time_soc
ket_events.cc:165: error: ‘event_base_loopbreak’ was not declared in this
scope
make[2]: ***
[rapid/plugin/x/CMakeFiles/xplugin.dir/ngs/src/time_socket_events.cc.o]
Error 1
make[1]: *** [rapid/plugin/x/CMakeFiles/xplugin.dir/all] Error 2
make: *** [all] Error 2
Failed to compile, skipping package creation
 
[2]
cmake . \
  -DBUILD_CONFIG=mysql_release \
  -DINSTALL_LAYOUT=RPM \
  -DCMAKE_INSTALL_PREFIX=$HOME/local \
  -DMYSQL_DATADIR=$HOME/var/lib/mysql \
  -DSYSCONFDIR=$HOME/local/etc \
  -DMYSQL_UNIX_ADDR=$HOME/var/run/mysql/mysqld.sock \
  -DWITH_MYSQLD_USER=$USER \
  -DMYSQL_MAINTAINER_MODE=OFF \
  -DWITH_DEBUG=OFF \
  -DINSTALL_SQLBENCHDIR= \
  -DINSTALL_MYSQLTESTDIR= \
  -DWITH_INNOBASE_STORAGE_ENGINE=1 \
  -DWITH_ZLIB=$HOME/local \
  -DWITH_READLINE=system \
  -DWITH_SSL=$HOME/local \
  -DWITH_BOOST=./boost

[3]
-- Running cmake version 2.8.12.2
-- Could NOT find Git (missing:  GIT_EXECUTABLE)
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file libaio.h
-- Looking for include file libaio.h - found
-- Looking for io_queue_init in aio
-- Looking for io_queue_init in aio - found
-- Looking for SHM_HUGETLB
-- Looking for SHM_HUGETLB - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void *
-- Check size of void * - done
-- SIZEOF_VOIDP 8
-- Performing Test HAVE_C_FLOATING_POINT_OPTIMIZATION_PROBLEMS
-- Performing Test HAVE_C_FLOATING_POINT_OPTIMIZATION_PROBLEMS - Failed
-- Performing Test HAVE_CXX_FLOATING_POINT_OPTIMIZATION_PROBLEMS
-- Performing Test HAVE_CXX_FLOATING_POINT_OPTIMIZATION_PROBLEMS - Failed
-- MySQL 5.7.16
-- Packaging as: mysql-5.7.16-Linux-x86_64
-- Local boost dir
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0
-- Found
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0/boost/versio
n.hpp
-- BOOST_VERSION_NUMBER is #define BOOST_VERSION 105900
-- BOOST_INCLUDE_DIR
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0
-- Performing Test HAVE_LLVM_LIBCPP
-- Performing Test HAVE_LLVM_LIBCPP - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for floor
-- Looking for floor - not found
-- Looking for floor in m
-- Looking for floor in m - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for bind
-- Looking for bind - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for dlopen
-- Looking for dlopen - not found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sched_yield
-- Looking for sched_yield 

5.7.16 compilation fails due to libevent references in xplugin

2016-10-26 Thread Matthew.W.Pitts
I am trying to compile mysql-boost 5.7.16 from source to run it from a
specific account/directory but I am running into an error [1] that seems to
indicate that a libevent symbol cannot be found. I'm not very familiar with
the mysql source, but it seems to include its own copy of libevent, so this
error seems rather odd. I have been building and running mysql 5.6 versions
in a similar manner, but I want to upgrade to 5.7. I could probably disable
the xplugin build, but I would like to include it for possible future use of
document storage.

[2] shows my cmake configure command and [3] shows the configure output

If this message would be more appropriate for another list, please let me
know.

Any guidance is greatly appreciated.

Thanks,
Matthew Pitts

[1]
[ 66%] Built target protobuf
[ 66%] Built target protoc
Scanning dependencies of target xplugin
[ 66%] Building CXX object
rapid/plugin/x/CMakeFiles/xplugin.dir/ngs/src/time_socket_events.cc.o
/path/to/my/app/home/src/build/mysql/current/rapid/plugin/x/ngs/src/time_soc
ket_events.cc: In member function ‘void
ngs::Time_and_socket_events::break_loop()’:
/path/to/my/app/home/src/build/mysql/current/rapid/plugin/x/ngs/src/time_soc
ket_events.cc:165: error: ‘event_base_loopbreak’ was not declared in this
scope
make[2]: ***
[rapid/plugin/x/CMakeFiles/xplugin.dir/ngs/src/time_socket_events.cc.o]
Error 1
make[1]: *** [rapid/plugin/x/CMakeFiles/xplugin.dir/all] Error 2
make: *** [all] Error 2
Failed to compile, skipping package creation
 
[2]
cmake . \
  -DBUILD_CONFIG=mysql_release \
  -DINSTALL_LAYOUT=RPM \
  -DCMAKE_INSTALL_PREFIX=$HOME/local \
  -DMYSQL_DATADIR=$HOME/var/lib/mysql \
  -DSYSCONFDIR=$HOME/local/etc \
  -DMYSQL_UNIX_ADDR=$HOME/var/run/mysql/mysqld.sock \
  -DWITH_MYSQLD_USER=$USER \
  -DMYSQL_MAINTAINER_MODE=OFF \
  -DWITH_DEBUG=OFF \
  -DINSTALL_SQLBENCHDIR= \
  -DINSTALL_MYSQLTESTDIR= \
  -DWITH_INNOBASE_STORAGE_ENGINE=1 \
  -DWITH_ZLIB=$HOME/local \
  -DWITH_READLINE=system \
  -DWITH_SSL=$HOME/local \
  -DWITH_BOOST=./boost

[3]
-- Running cmake version 2.8.12.2
-- Could NOT find Git (missing:  GIT_EXECUTABLE)
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file libaio.h
-- Looking for include file libaio.h - found
-- Looking for io_queue_init in aio
-- Looking for io_queue_init in aio - found
-- Looking for SHM_HUGETLB
-- Looking for SHM_HUGETLB - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void *
-- Check size of void * - done
-- SIZEOF_VOIDP 8
-- Performing Test HAVE_C_FLOATING_POINT_OPTIMIZATION_PROBLEMS
-- Performing Test HAVE_C_FLOATING_POINT_OPTIMIZATION_PROBLEMS - Failed
-- Performing Test HAVE_CXX_FLOATING_POINT_OPTIMIZATION_PROBLEMS
-- Performing Test HAVE_CXX_FLOATING_POINT_OPTIMIZATION_PROBLEMS - Failed
-- MySQL 5.7.16
-- Packaging as: mysql-5.7.16-Linux-x86_64
-- Local boost dir
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0
-- Found
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0/boost/versio
n.hpp
-- BOOST_VERSION_NUMBER is #define BOOST_VERSION 105900
-- BOOST_INCLUDE_DIR
/path/to/my/app/home/src/build/mysql/current/boost/boost_1_59_0
-- Performing Test HAVE_LLVM_LIBCPP
-- Performing Test HAVE_LLVM_LIBCPP - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for floor
-- Looking for floor - not found
-- Looking for floor in m
-- Looking for floor in m - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for bind
-- Looking for bind - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for dlopen
-- Looking for dlopen - not found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for timer_create
-- Looking for timer_create - not found
-- Looking for