{"id":11341,"date":"2025-08-02T15:42:09","date_gmt":"2025-08-02T19:42:09","guid":{"rendered":"https:\/\/labs.icahn.mssm.edu\/minervalab\/?page_id=11341"},"modified":"2025-08-27T12:27:38","modified_gmt":"2025-08-27T16:27:38","slug":"database-mariadb","status":"publish","type":"page","link":"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/database-mariadb\/","title":{"rendered":"Database: MariaDB"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; fullwidth=&#8221;on&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_fullwidth_menu menu_id=&#8221;15&#8243; menu_style=&#8221;centered&#8221; fullwidth_menu=&#8221;on&#8221; active_link_color=&#8221;#d80b8c&#8221; dropdown_menu_line_color=&#8221;#221f72&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; menu_font=&#8221;|600|||||||&#8221; menu_text_color=&#8221;#FFFFFF&#8221; menu_font_size=&#8221;16px&#8221; background_color=&#8221;#221f72&#8243; sticky_position=&#8221;top&#8221;][\/et_pb_fullwidth_menu][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row _builder_version=&#8221;4.9.0&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;0px||||false|false&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Breadcrumb&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/scientific-computing-and-data\/\">Scientific Computing and Data<\/a>\u00a0\/\u00a0<a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/\">High Performance Computing<\/a> \/ <a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/\">Documentation<\/a> \/ Database: MariaDB<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221;]<\/p>\n<h1>Database Services<\/h1>\n<p>Minerva provides efficient and reliable database services, suitable for standalone use or integration with our web services. These databases are tailored to store scientific data, supporting datasets up to 50 GiB in size.<\/p>\n<p><b><u>MySQL database:<\/u><\/b><br \/> Currently, MySQL relational database service is provided using MariaDB 11.0.1. At this moment, there is no backup for the databases.<\/p>\n<p><b><u>Other databases:<\/u><\/b><br \/>Minerva team has limited capacity to host custom database servers, particularly for applications that require highly specific software versions or specialized configurations\u2014such as Oracle SQL Server. Availability of such database servers is extremely constrained and assessed on a case-by-case basis. If you require this type of setup, please submit a request by emailing <a href=\"mailto:hpchelp@hpc.mssm.edu\">hpchelp@hpc.mssm.edu<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;]<\/p>\n<h2><span style=\"color: #221f72\">MariaDB\/MySQL Database<\/span><\/h2>\n<p>MariaDB is a robust fork of the MySQL relational database management system, engineered to ensure high compatibility with MySQL. It provides seamless drop-in replacement capabilities, featuring identical library binaries, precise matching with MySQL APIs, and equivalent command structures for effortless integration.<\/p>\n<p><a href=\"https:\/\/mariadb.com\/docs\/release-notes\/community-server\/about\/compatibility-and-differences\/mariadb-vs-mysql-compatibility\">Compatibility &amp; Differences Between MariaDB and MySQL<\/a><\/p>\n<p>There are two networks can connect to the MariaDB database:<\/p>\n<p><strong>Internal Network <\/strong><em>(within\u00a0Minerva HPC cluster only):<\/em>\u00a0On the login nodes li04e01-04, web server web02-03, or compute nodes, you can connect to the database using the internal network,<strong> data1.chimera.hpc.mssm.edu (172.28.7.78)<\/strong>.<\/p>\n<p><strong>External Network <\/strong><em>(campus network or VPN regardless of Minerva HPC cluster connection)<\/em><strong>:<\/strong> On your laptop or other computing devices, connect use <strong>data1.hpc.mssm.edu (10.95.46.229)<\/strong><\/p>\n<p>To access within minerva, without chimera.hpc.mssm.edu is OK:<\/p>\n<blockquote>\n<pre><code> $ mysql -h data1 -u userid -p your_database<\/code><\/pre>\n<\/blockquote>\n<p>To access within campus network, eg on your laptop, use data1.hpc.mssm.edu, .hpc.mssm.edu is needed:<\/p>\n<blockquote>\n<pre><code> $ mysql -h data1.hpc.mssm.edu -u userid -p your_database<\/code><\/pre>\n<\/blockquote>\n<p>To backup your database, do<\/p>\n<blockquote>\n<pre><span class=\"crayon-v\">$ mysqldump<\/span> <span class=\"crayon-o\">-<\/span><span class=\"crayon-i\">u userid<\/span> \u2013p your_database <span class=\"crayon-sy\">[<\/span><span class=\"crayon-v\">tablename<\/span><span class=\"crayon-sy\">] -h data1<\/span> <span class=\"crayon-o\">&gt;<\/span> <span class=\"crayon-sy\">[<\/span><span class=\"crayon-v\">dumpfilename<\/span><span class=\"crayon-sy\">.<\/span><span class=\"crayon-v\">sql<\/span><span class=\"crayon-sy\">]<\/span><\/pre>\n<\/blockquote>\n<p>Database user accounts are not currently synchronized with Minerva user accounts. To request a new database or user account, please submit a ticket via email to <a href=\"mailto:hpchelp@hpc.mssm.edu\">hpchelp@hpc.mssm.edu<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h1>External Links<\/h1>\n<p><a href=\"https:\/\/www.tutorialspoint.com\/mariadb\/index.htm\">MariaDB Tutorial<\/a><br \/> <a href=\"https:\/\/mariadb.com\/kb\/en\/library\/documentation\/\">MariaDB Documentation<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scientific Computing and Data\u00a0\/\u00a0High Performance Computing \/ Documentation \/ Database: MariaDBDatabase Services Minerva provides efficient and reliable database services, suitable for standalone use or integration with our web services. These databases are tailored to store scientific data, supporting datasets up to 50 GiB in size. MySQL database: Currently, MySQL relational database service is provided using [&hellip;]<\/p>\n","protected":false},"author":624,"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-11341","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/users\/624"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/comments?post=11341"}],"version-history":[{"count":13,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11341\/revisions"}],"predecessor-version":[{"id":11796,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11341\/revisions\/11796"}],"up":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/35"}],"wp:attachment":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/media?parent=11341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}