Comments on: MySQL QA Episode 11: Valgrind Testing: Pro’s, Con’s, Why and How https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/ Wed, 07 Aug 2019 13:18:29 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Roel Van de Paar https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/#comment-10965622 Thu, 26 Nov 2015 06:01:49 +0000 https://www.percona.com/blog/?p=30766#comment-10965622 There’s also some build* scripts in percona-qa.

@All, please note we have moved percona-qa to GitHub:
https://github.com/Percona-QA/percona-qa

To clone it, use:
$ sudo yum install git
$ cd ~
$ git clone https://github.com/Percona-QA/percona-qa.git

reducer.sh was also put directly into this repository (and it is maintained there), so *no* need anymore to separately fetch lp:randgen.

]]>
By: Shahriyar Rzayev https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/#comment-10927613 Sun, 23 Aug 2015 12:54:30 +0000 https://www.percona.com/blog/?p=30766#comment-10927613 Just for a note if somebody wondering how to have a “Debug” or “Valgrind” MySQL on they own. Simply it means that you have compiled MySQL from source code with:
-DWITH_DEBUG=1 for “Debug” build, -DWITH_VALGRIND=1 for “Valgrind” build.

The full command will be like above for eg with MySQL 5.6.19:

cmake -DCMAKE_INSTALL_PREFIX=/opt/mysql-5.6.19 -DMYSQL_DATADIR=/var/lib/mysql -DSYSCONFDIR=/opt/mysql-5.6.19 -DWITH_SSL=system -DMYSQL_TCP_PORT=3307 -DMYSQL_UNIX_ADDR=/opt/mysql-5.6.19/mysqld.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_DEBUG=1 -DCOMPILATION_COMMENT=”Shahriyar Rzayev’s Ubuntu MySQL-5.6.19″ -DOPTIMIZER_TRACE=1 -DWITH_ZLIB=system -DWITH_VALGRIND=1 -DCMAKE_C_FLAGS=-DHAVE_purify -DCMAKE_CXX_FLAGS=-DHAVE_purify

Then:
make
make install

You may have some problems with installing MySQL from source code. So i have noted them in our local community page:

http://mysql.az/installing-mysql-from-source-cmake-issues/

]]>
By: Shahriyar Rzayev https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/#comment-10927595 Sun, 23 Aug 2015 12:25:05 +0000 https://www.percona.com/blog/?p=30766#comment-10927595 If you try to install valgrind debuginfo package and got something like:
“debuginfo-install: command not found”
Just install yum-utils package:
[root@centos-base ~]# yum install yum-utils

]]>
By: Roel Van de Paar https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/#comment-10906213 Thu, 06 Aug 2015 03:40:51 +0000 https://www.percona.com/blog/?p=30766#comment-10906213 Hi Jörg, you mean installing Flash to watch the YouTube video? That’s not required; use the HTML5 YouTube player: https://www.youtube.com/html5 instead.

]]>
By: Jörg Brühe https://www.percona.com/blog/mysql-qa-episode-11-valgrind-testing-pros-cons/#comment-10905481 Wed, 05 Aug 2015 10:10:49 +0000 https://www.percona.com/blog/?p=30766#comment-10905481 I sure would like to follow your explanations – but I won’t install insecure stuff like Flash.
Please: Isn’t there a safe way to publish your material?

Regards,
Jörg

]]>