diff --git a/cmake/wsrep.cmake b/cmake/wsrep.cmake
index afab9105d8d564ff588cbaae2bfe9657f1195b35..5020a2669b490994b8307d38ab7def7f51774457 100644
--- a/cmake/wsrep.cmake
+++ b/cmake/wsrep.cmake
@@ -18,7 +18,7 @@
 # so WSREP_VERSION is produced regardless
 
 # Set the patch version
-SET(WSREP_PATCH_VERSION "22")
+SET(WSREP_PATCH_VERSION "23")
 
 # MariaDB addition: Revision number of the last revision merged from
 # codership branch visible in @@visible_comment.
diff --git a/scripts/mysql_config.pl b/scripts/mysql_config.pl
index a9254bb966e4fccc7d1e12120dd6970efcf5d003..0a022034a6dbfa2ef85ab61048994fae8caf92eb 100644
--- a/scripts/mysql_config.pl
+++ b/scripts/mysql_config.pl
@@ -53,7 +53,7 @@ my $cwd = cwd();
 my $basedir;
 
 my $socket  = '/tmp/mysql.sock';
-my $version = '5.5.58';
+my $version = '5.5.59';
 
 sub which
 {