// DBD0mysql package from github ushastry@bugs:~/Downloads$ ls -l total 107256 -rw-rw-r-- 1 ushastry ushastry 190601 Oct 15 21:31 DBD-mysql-master.zip -rw-rw-r-- 1 ushastry ushastry 18562 Oct 15 21:13 mysql-apt-config_0.3.7-1ubuntu14.04_all.deb . . ushastry@bugs:~/Downloads$ unzip DBD-mysql-master.zip Archive: DBD-mysql-master.zip 7a09e8a8c7162fdbb4a043602f4e0f81c2f7c5aa ushastry@bugs:~/Downloads$ cd DBD-mysql-master/ ushastry@bugs:~/Downloads/DBD-mysql-master$ ls -l total 348 -rw-rw-r-- 1 ushastry ushastry 70104 Oct 12 22:46 ChangeLog -rw-rw-r-- 1 ushastry ushastry 1948 Oct 12 22:46 constants.h -rw-rw-r-- 1 ushastry ushastry 155262 Oct 12 22:46 dbdimp.c -rw-rw-r-- 1 ushastry ushastry 11158 Oct 12 22:46 dbdimp.h drwxrwxr-x 2 ushastry ushastry 4096 Oct 12 22:46 eg drwxrwxr-x 4 ushastry ushastry 4096 Oct 12 22:46 lib -rw-rw-r-- 1 ushastry ushastry 18368 Oct 12 22:46 LICENSE -rw-rw-r-- 1 ushastry ushastry 27138 Oct 12 22:46 Makefile.PL -rw-rw-r-- 1 ushastry ushastry 713 Oct 12 22:46 Makefile.PL.embedded -rw-rw-r-- 1 ushastry ushastry 1662 Oct 12 22:46 MANIFEST -rw-rw-r-- 1 ushastry ushastry 152 Oct 12 22:46 MANIFEST.SKIP -rw-rw-r-- 1 ushastry ushastry 1716 Oct 12 22:46 myld -rw-rw-r-- 1 ushastry ushastry 22663 Oct 12 22:46 mysql.xs -rw-rw-r-- 1 ushastry ushastry 740 Oct 12 22:46 README.pod drwxrwxr-x 2 ushastry ushastry 4096 Oct 12 22:46 t -rw-rw-r-- 1 ushastry ushastry 896 Oct 12 22:46 TODO ushastry@bugs:~/Downloads/DBD-mysql-master$ ushastry@bugs:~/Downloads/DBD-mysql-master$ perl Makefile.PL --help Usage: perl Makefile.PL [options] Possible options are: --cflags= Use for running the C compiler; defaults to the value of "mysql_config --cflags" or a guessed value --libs= Use for running the linker; defaults to the value of "mysql_config --libs" or a gussed value --force-embedded Build version of driver supporting mysqlEmb --embedded= Use these libs when building the embedded version of DBD (with --force-embedded). Defaults to the value of "mysql_config --embedded". --testdb= Use the database for running the test suite; defaults to test --testuser= Use the username for running the test suite; defaults to no username --testpassword= Use the password for running the test suite; defaults to no password --testhost= Use as a database server for running the test suite; defaults to localhost. --testport= Use as the port number of the database; by default the port number is choosen from the mysqlclient library --mysql_config= Specify for mysql_config script --with-mysql= Specify for the root of the MySQL installation. --nocatchstderr Supress using the "myld" script that redirects STDERR while running the linker. --nofoundrows Change the behavior of $sth->rows() so that it returns the number of rows physically modified instead of the rows matched --ps-protocol Toggle the use of driver emulated prepared statements prepare, requires MySQL server >= 4.1.3 for server side prepared statements, off by default --bind-type-guessing Toggle the use of driver attribute mysql_bind_type_guessing This feature makes it so driver-emulated prepared statements try to "guess" if a value being bound is numeric, in which case, quotes will not be put around the value. --ssl Enable SSL support --help Print this message and exit All options may be configured on the command line. If they are not present on the command line, then mysql_config is called (if it can be found): mysql_config --cflags mysql_config --libs mysql_config --embedded mysql_config --testdb and so on. See DBD::mysql::INSTALL for details. ushastry@bugs:~/Downloads/DBD-mysql-master$ perl Makefile.PL --testuser=root --testpassword=mysqxxxx --testdb=test I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer embedded (guessed ) = ldflags (mysql_config ) = libs (mysql_config ) = -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (User's choice) = test testhost (default ) = testpassword (User's choice) = mysql123 testport (default ) = testsocket (default ) = testuser (User's choice) = root To change these settings, see 'perl Makefile.PL --help' and 'perldoc DBD::mysql::INSTALL'. Checking if your kit is complete... Warning: the following files are missing in your kit: META.json META.yml Please inform the author. Using DBI 1.634 (for perl 5.018002 on x86_64-linux-gnu-thread-multi) installed in /usr/local/lib/perl/5.18.2/auto/DBI/ Writing Makefile for DBD::mysql Writing MYMETA.yml and MYMETA.json ushastry@bugs:~/Downloads/DBD-mysql-master$ make cp README.pod blib/lib/DBD/README.pod cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cc -c -I/usr/local/lib/perl/5.18.2/auto/DBI -I/usr/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"4.032\" -DXS_VERSION=\"4.032\" -fPIC "-I/usr/lib/perl/5.18/CORE" dbdimp.c /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl/5.18.2/auto/DBI/Driver.xst > mysql.xsi /usr/bin/perl /usr/share/perl/5.18/ExtUtils/xsubpp -typemap /usr/share/perl/5.18/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 242 Warning: duplicate function definition 'rows' detected in mysql.xs, line 754 cc -c -I/usr/local/lib/perl/5.18.2/auto/DBI -I/usr/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"4.032\" -DXS_VERSION=\"4.032\" -fPIC "-I/usr/lib/perl/5.18/CORE" mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so /usr/bin/perl myld cc -shared -L/usr/local/lib -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs chmod 644 blib/arch/auto/DBD/mysql/mysql.bs Manifying blib/man3/DBD::README.3pm Manifying blib/man3/DBD::mysql.3pm Manifying blib/man3/DBD::mysql::INSTALL.3pm Manifying blib/man3/Bundle::DBD::mysql.3pm ushastry@bugs:~/Downloads/DBD-mysql-master$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.t ........................... 1/6 # Driver version is 4.032 t/00base.t ........................... ok t/05dbcreate.t ....................... ok t/10connect.t ........................ 1/? # mysql_clientinfo is: 5.7.8-rc # mysql_clientversion is: 50708 # mysql_serverversion is: 50708 # mysql_hostinfo is: Localhost via UNIX socket # mysql_serverinfo is: 5.7.8-rc # mysql_stat is: Uptime: 1216 Threads: 1 Questions: 12 Slow queries: 0 Opens: 107 Flush tables: 1 Open tables: 26 Queries per second avg: 0.009 # mysql_protoinfo is: 10 # SQL_DBMS_VER is 5.7.8-rc # Default storage engine is: InnoDB t/10connect.t ........................ ok t/15reconnect.t ...................... ok t/20createdrop.t ..................... ok t/25lockunlock.t ..................... ok t/29warnings.t ....................... ok t/30insertfetch.t .................... ok t/31insertid.t ....................... 1/18 # Failed test 'dbh insert id 0 == max(id) 2 in dbd_mysql_t31' # at t/31insertid.t line 58. # got: 0 # expected: 2 # Looks like you failed 1 test of 18. t/31insertid.t ....................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/18 subtests t/32insert_error.t ................... ok t/35limit.t .......................... ok t/35prepare.t ........................ ok t/40bindparam.t ...................... ok t/40bindparam2.t ..................... ok t/40bit.t ............................ ok t/40blobs.t .......................... ok t/40catalog.t ........................ ok t/40keyinfo.t ........................ ok t/40listfields.t ..................... ok t/40nulls.t .......................... ok t/40nulls_prepare.t .................. ok t/40numrows.t ........................ ok t/40server_prepare.t ................. ok t/40server_prepare_error.t ........... ok t/40types.t .......................... ok t/41bindparam.t ...................... ok t/41blobs_prepare.t .................. ok t/42bindparam.t ...................... ok t/43count_params.t ................... ok t/50chopblanks.t ..................... ok t/50commit.t ......................... ok t/51bind_type_guessing.t ............. ok t/52comment.t ........................ ok t/53comment.t ........................ ok t/55utf8.t ........................... ok t/55utf8mb4.t ........................ ok t/56connattr.t ....................... ok t/60leaks.t .......................... skipped: Skip $ENV{EXTENDED_TESTING} is not set t/65segfault.t ....................... ok t/65types.t .......................... ok t/70takeimp.t ........................ ok t/71impdata.t ........................ ok t/75supported_sql.t .................. ok t/76multi_statement.t ................ ok t/80procs.t .......................... ok t/81procs.t .......................... ok t/85init_command.t ................... ok t/86_bug_36972.t ..................... ok t/87async.t .......................... ok t/88async-multi-stmts.t .............. ok t/89async-method-check.t ............. ok t/90no-async.t ....................... skipped: Async support was built into this version of DBD::mysql t/91errcheck.t ....................... ok t/99_bug_server_prepare_blob_null.t .. ok t/manifest.t ......................... skipped: these tests are for release testing t/pod.t .............................. skipped: Test::Pod 1.00 required for testing POD t/rt25389-bin-case.t ................. ok t/rt50304-column_info_parentheses.t .. ok t/rt83494-quotes-comments.t .......... ok t/rt85919-fetch-lost-connection.t .... ok t/rt86153-reconnect-fail-memory.t .... skipped: $ENV{EXTENDED_TESTING} is not set t/rt88006-bit-prepare.t .............. ok t/rt91715.t .......................... ok t/version.t .......................... ok Test Summary Report ------------------- t/31insertid.t (Wstat: 256 Tests: 18 Failed: 1) Failed test: 15 Non-zero exit status: 1 Files=64, Tests=1430, 44 wallclock secs ( 0.67 usr 0.48 sys + 5.12 cusr 1.41 csys = 7.68 CPU) Result: FAIL Failed 1/64 test programs. 1/1430 subtests failed. make: *** [test_dynamic] Error 255 ushastry@bugs:~/Downloads/DBD-mysql-master$ ## MySQL installed using apt repository ushastry@bugs:~/Downloads/DBD-mysql-master$ dpkg -l|grep -i mysql ii libmysqlclient-dev 5.7.8-rc-1ubuntu14.04 amd64 MySQL development headers ii libmysqlclient18:amd64 5.7.5-m15-2ubuntu14.04 amd64 MySQL shared client libraries ii libmysqlclient20:amd64 5.7.8-rc-1ubuntu14.04 amd64 MySQL shared client libraries ii mysql-apt-config 0.3.7-1ubuntu14.04 all Auto configuration for MySQL APT Repo. ii mysql-client 5.7.8-rc-1ubuntu14.04 amd64 MySQL Client meta package depending on latest version ii mysql-common 5.7.8-rc-1ubuntu14.04 amd64 MySQL configuration for client and server ii mysql-community-client 5.7.8-rc-1ubuntu14.04 amd64 MySQL Client and client tools ii mysql-community-server 5.7.8-rc-1ubuntu14.04 amd64 MySQL Server and server tools ii mysql-server 5.7.8-rc-1ubuntu14.04 amd64 MySQL Server meta package depending on latest version ## OS used for tests ushastry@bugs:~/Downloads/DBD-mysql-master$ cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" NAME="Ubuntu" VERSION="14.04.3 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" VERSION_ID="14.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" ushastry@bugs:~/Downloads/DBD-mysql-master$