I'm compiling MariaDB from source, and trying to test the DB following the instructions, and I keep getting errors about mySQL (which I thought packages were installed along side MariaDB)
Failed to start mysqld.1 mysqltest failed but provided no output - saving '/usr/local/mysql/mysql-test/var/log/rocksdb.show_table_status/' to '/usr/local/mysql/mysql-test/var/log/rocksdb.show_table_status/' Only 1090 of 6752 completed. -------------------------------------------------------------------------- The servers were restarted 25 times Spent 531.822 of 608 seconds executing testcases Failure: Failed 1/87 tests, 98.85% were successful. Failing test(s): rocksdb.show_table_status The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html 747 tests were skipped, 14 by the test itself. mysql-test-run: *** ERROR: there were failing test cases
I'm trying to compile the process using Jenkins and Bash with make
Compiling it seems to be fine, I just don't have any ideas about connecting to the database.
I had ran these instructions provided by MariaDB before getting the error above:
/usr/local/mysql$ sudo ./scripts/mysql_install_db --user=mysql Installing MariaDB/MySQL system tables in './data' ... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! To do so, start the server, then issue the following commands: './bin/mysqladmin' -u root password 'new-password' './bin/mysqladmin' -u root -h SCPZ0160 password 'new-password' Alternatively you can run: './bin/mysql_secure_installation' which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: cd '.' ; ./bin/mysqld_safe --datadir='./data' You can test the MariaDB daemon with mysql-test-run.pl cd './mysql-test' ; perl mysql-test-run.pl
The reason for asking the question is because when I go to execute a mySQL command, I got an error:
/usr/local/mysql/mysql-test/var$ mysql --help -bash: mysql: command not found