maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04635
Re: Help to compile MariaDB 10.2.6 - Debian 8.8
Hi, Sergei
It worked for me now so well.
Thank you all of you.
# groupadd mysql
# useradd -c "MySQL Server" -g mysql -s /bin/false mysql
# cmake . -DBUILD_CONFIG=mysql_release -DWITH_ZLIB=system -DWITH_SSL=system -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_spanish_ci
# make
# make install
# cd /usr/local/mysql
# ./scripts/mysql_install_db --user=mysql
# chown -R root .
# chown -R mysql data
# cp ./support-files/mysql.server /etc/init.d/mysql
# chmod +x /etc/init.d/mysql
# update-rc.d mysql defaults
# service mysql start
# ./bin/mysqladmin -u root password
# ./bin/mysql_secure_installation
# cd ./mysql-test
# perl ./mysql-test-run.pl
# service mysql status
-- Found ZLIB: /usr/local/lib/libz.so (found version "1.2.11")
...
-- Found OpenSSL: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so (found version "1.1.0f")
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
-- OPENSSL_INCLUDE_DIR = /usr/local/include
-- OPENSSL_SSL_LIBRARY = /usr/local/lib/libssl.so
-- OPENSSL_CRYPTO_LIBRARY = /usr/local/lib/libcrypto.so
-- OPENSSL_VERSION = 1.1.0f
-- SSL_LIBRARIES = /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so;dl
The OpenSSL and zlib that I wanted. Good.
I am investigating because after compiling the configuration file "my.cnf" is not created.
# find / -name my.cnf
Maybe I have to create it myself, or run some script.
I have to read about this configuration file and how to have a stable and secure configuration
Only error in mysql-test-run.pl
rpl.rpl_test_framework 'stmt' [ fail ]
CURRENT_TEST: rpl.rpl_test_framework
/usr/local/mysql/bin/mysqltest: Out of memory (Needed 1048576 bytes)
mysqltest: In included file "./include/end_include_file.inc":
included from ./include/wait_for_slave_param.inc at line 124:
included from ./include/sync_io_with_master.inc at line 36:
included from ./include/sync_slave_io_with_master.inc at line 46:
included from ./include/rpl_sync.inc at line 116:
included from ./extra/rpl_tests/rpl_test_framework.inc at line 71:
included from /usr/local/mysql/mysql-test/suite/rpl/t/rpl_test_framework.test at line 103:
At line 35: Out of memory
Guillermo Céspedes
Full Stack Developer
> El 20 jun. 2017, a las 20:12, Sergei Golubchik <serg@xxxxxxxxxxx> escribió:
>
> Hi, Guillermo!
>
> On Jun 20, Guillermo Cespedes wrote:
>> Thank you.
>>
>> After compiled
>>
>> Do I have any way to verify that this is using OpenSSL and not gnutls?
>
> Yes. ldd mysqld. Or SHOW VARIABLES LIKE 'version_ssl_library';
>
> Regards,
> Sergei
> Chief Architect MariaDB
> and security@xxxxxxxxxxx
Follow ups
References