Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

76,227

Downloads of v 10.3.11:

1,686

Last Update:

08 Dec 2018

Package Maintainer(s):

Software Author(s):

  • MariaDB Foundation

Tags:

rdbms sql database mysql admin

MariaDB (Install)

This is not the latest version of MariaDB (Install) available.

  • 1
  • 2
  • 3

10.3.11 | Updated: 08 Dec 2018

Downloads:

76,227

Downloads of v 10.3.11:

1,686

Maintainer(s):

Software Author(s):

  • MariaDB Foundation

MariaDB (Install) 10.3.11

This is not the latest version of MariaDB (Install) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install MariaDB (Install), run the following command from the command line or from PowerShell:

>

To upgrade MariaDB (Install), run the following command from the command line or from PowerShell:

>

To uninstall MariaDB (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade mariadb.install -y --source="'INTERNAL REPO URL'" --version="'10.3.11'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade mariadb.install -y --source="'INTERNAL REPO URL'" --version="'10.3.11'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install mariadb.install
  win_chocolatey:
    name: mariadb.install
    version: '10.3.11'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'mariadb.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '10.3.11'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller mariadb.install
{
    Name     = "mariadb.install"
    Version  = "10.3.11"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'mariadb.install':
  ensure   => '10.3.11',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved by moderator flcdrg on 09 Dec 2018.

Description

MariaDB is designed as a drop-in replacement of MySQL with more features, new storage engines, fewer bugs, and better performance. MariaDB server is a community developed fork of MySQL server started by core members of the original MySQL team.

MariaDB strives to be the logical choice for database professionals looking for a robust, scalable, and reliable SQL server. To accomplish this, the MariaDB Foundation work closely and cooperatively with the larger community of users and developers in the true spirit of Free and open source software, and release software in a manner that balances predictability with reliability.

MariaDB comparison to MySQL

Community

Please Note: This is an automatically updated package. If you find it is
out of date by more than a day or two, please contact the maintainer(s) and
let them know the package is no longer updating correctly.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url32          = 'https://downloads.mariadb.org/f/mariadb-10.3.11/win32-packages/mariadb-10.3.11-win32.msi'
$checksum32     = 'fd2a07bf6e7ebd8610161f19606ba03e8425306f66eaec76a8be13f866c581b0'
$checksumType32 = 'sha256'
$url64          = 'https://downloads.mariadb.org/f/mariadb-10.3.11/winx64-packages/mariadb-10.3.11-winx64.msi'
$checksum64     = 'f1c6b92b53a74f8eb234070f00c569026ea0ab8e16ca3986dce3d62e731874bb'
$checksumType64 = 'sha256'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  unzipLocation  = $toolsDir
  fileType       = 'msi'
  url           = $url32
  checksum      = $checksum32
  checksumType  = 'sha256'
  url64bit      = $url64
  checksum64    = $checksum64
  checksumType64= 'sha256'
  softwareName   = 'MariaDB *'
  silentArgs     = "SERVICENAME=MySQL /qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
  validExitCodes = @(0,3010)
}

Write-Verbose "Downloading and installing program..."
Install-ChocolateyPackage @packageArgs

Write-Verbose "Querying registry for install location..."
$packageSearch = "MariaDB *"
$regKey = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                   'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                   'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                           -ErrorAction:SilentlyContinue `
          | Where-Object {$_.DisplayName -like $packageSearch}

Write-Verbose "Adding MariaDB bin directory to path environment variable..."
$binPath = Join-Path $regKey.InstallLocation[0] "bin"
if ($binPath) {
  Install-ChocolateyPath $binPath 'Machine'

  Write-Verbose "Starting service..."
  Start-Process -FilePath "NET" `
                -ArgumentList 'START MySQL' `
                -Wait `
                -NoNewWindow
}
tools\chocolateyUninstall.ps1
$packageName = '{{PackageName}}'
$packageSearch = "MariaDB *"
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart'
$validExitCodes = @(0,3010)
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$unPath = Join-Path $toolsPath 'Uninstall-ChocolateyPath.psm1'

Write-Verbose "Querying registry for install key..."
$regKey = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                   'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                   'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                           -ErrorAction:SilentlyContinue `
          | Where-Object {$_.DisplayName -like $packageSearch}

Write-Verbose "Uninstalling program and removing package..."
$regKey | ForEach-Object {
  Uninstall-ChocolateyPackage -PackageName "$packageName" `
                              -FileType "$installerType" `
                              -SilentArgs "$($_.PSChildName) $silentArgs" `
                              -ValidExitCodes $validExitCodes
}

Write-Verbose "Removing from path..."
$binPath = Join-Path $regKey.InstallLocation "bin"
Import-Module $unPath
Uninstall-ChocolateyPath $binPath 'Machine' 
tools\Uninstall-ChocolateyPath.psm1
function Uninstall-ChocolateyPath {
param(
  [string] $pathToUninstall,
  [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
)
  Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";

  #get the PATH variable
  $envPath = $env:PATH
  #$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
  if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
    Write-Host "PATH environment variable does not have $pathToUninstall in it."
    return
  }

  Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
  $actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)

  # escape regex metachars, match possible backslash and item separator at eol
  $pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'

  # remove pathToUninstall from actualPath
  $actualPath = $actualPath -replace "$pathToUninstallRegex", ''

  if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
    $psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
    Start-ChocolateyProcessAsAdmin "$psArgs"
  } else {
    [Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)
  }

  # remove from path of current powershell session
  $envPSPath = $env:PATH
  $env:Path = $envPSPath -replace "$pathToUninstallRegex", ''
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
MariaDB (Install) 11.4.1 1008 Thursday, February 29, 2024 Approved
MariaDB (Install) 11.3.2 17 Thursday, February 29, 2024 Approved
MariaDB (Install) 11.3.1 2426 Tuesday, November 21, 2023 Approved
MariaDB (Install) 11.3.0 2759 Wednesday, September 20, 2023 Approved
MariaDB (Install) 11.2.3 6 Thursday, February 29, 2024 Approved
MariaDB (Install) 11.2.2 16 Tuesday, November 21, 2023 Approved
MariaDB (Install) 11.2.1 812 Monday, August 21, 2023 Approved
MariaDB (Install) 11.2.0 1675 Tuesday, June 20, 2023 Approved
MariaDB (Install) 11.1.4 7 Thursday, February 29, 2024 Approved
MariaDB (Install) 11.1.3 17 Tuesday, November 14, 2023 Approved
MariaDB (Install) 11.1.2 39 Monday, August 21, 2023 Approved
MariaDB (Install) 11.1.1 464 Wednesday, June 7, 2023 Approved
MariaDB (Install) 11.1.0 1963 Monday, April 3, 2023 Approved
MariaDB (Install) 11.0.5 7 Thursday, February 29, 2024 Approved
MariaDB (Install) 11.0.4 16 Tuesday, November 14, 2023 Approved
MariaDB (Install) 11.0.3 17 Monday, August 14, 2023 Approved
MariaDB (Install) 11.0.2 25 Wednesday, June 7, 2023 Approved
MariaDB (Install) 11.0.1 1497 Wednesday, February 22, 2023 Approved
MariaDB (Install) 10.11.7 7 Thursday, February 29, 2024 Approved
MariaDB (Install) 10.11.6 34 Tuesday, November 14, 2023 Approved
MariaDB (Install) 10.11.5 38 Monday, August 14, 2023 Approved
MariaDB (Install) 10.11.4 44 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.11.3 112 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.11.2 444 Thursday, February 16, 2023 Approved
MariaDB (Install) 10.11.1 3028 Friday, November 18, 2022 Approved
MariaDB (Install) 10.10.7 24 Tuesday, November 14, 2023 Approved
MariaDB (Install) 10.10.6 22 Monday, August 14, 2023 Approved
MariaDB (Install) 10.10.5 32 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.10.4 34 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.10.3 39 Monday, February 6, 2023 Approved
MariaDB (Install) 10.10.2 77 Thursday, November 17, 2022 Approved
MariaDB (Install) 10.10.1 1866 Monday, August 22, 2022 Approved
MariaDB (Install) 10.9.8 25 Monday, August 14, 2023 Approved
MariaDB (Install) 10.9.7 25 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.9.6 23 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.9.5 35 Monday, February 6, 2023 Approved
MariaDB (Install) 10.9.4 27 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.9.3 40 Monday, September 19, 2022 Approved
MariaDB (Install) 10.9.2 51 Monday, August 22, 2022 Approved
MariaDB (Install) 10.9.1 2019 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.8.8 33 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.8.7 34 Monday, February 6, 2023 Approved
MariaDB (Install) 10.8.6 43 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.8.5 37 Monday, September 19, 2022 Approved
MariaDB (Install) 10.8.4 40 Monday, August 15, 2022 Approved
MariaDB (Install) 10.8.3 70 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.8.2 1760 Friday, February 18, 2022 Approved
MariaDB (Install) 10.7.8 51 Monday, February 6, 2023 Approved
MariaDB (Install) 10.7.7 42 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.7.6 45 Monday, September 19, 2022 Approved
MariaDB (Install) 10.7.3 83 Friday, February 18, 2022 Approved
MariaDB (Install) 10.7.1.20211119 2228 Friday, November 19, 2021 Approved
MariaDB (Install) 10.6.17 7 Thursday, February 29, 2024 Approved
MariaDB (Install) 10.6.16 19 Monday, November 13, 2023 Approved
MariaDB (Install) 10.6.15 29 Monday, August 14, 2023 Approved
MariaDB (Install) 10.6.14 72 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.6.12 48 Monday, February 6, 2023 Approved
MariaDB (Install) 10.6.11 40 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.6.10 42 Monday, September 19, 2022 Approved
MariaDB (Install) 10.6.9 46 Monday, August 15, 2022 Approved
MariaDB (Install) 10.6.8 1055 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.6.7 393 Friday, February 18, 2022 Approved
MariaDB (Install) 10.6.4 2763 Wednesday, August 25, 2021 Approved
MariaDB (Install) 10.5.24 9 Thursday, February 29, 2024 Approved
MariaDB (Install) 10.5.23 20 Monday, November 13, 2023 Approved
MariaDB (Install) 10.5.22 18 Monday, August 14, 2023 Approved
MariaDB (Install) 10.5.21 29 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.5.20 22 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.5.19 35 Monday, February 6, 2023 Approved
MariaDB (Install) 10.5.17 51 Monday, August 15, 2022 Approved
MariaDB (Install) 10.5.16 69 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.5.15 76 Friday, February 18, 2022 Approved
MariaDB (Install) 10.5.13 52 Monday, November 8, 2021 Approved
MariaDB (Install) 10.5.12 64 Tuesday, October 26, 2021 Approved
MariaDB (Install) 10.5.10 4801 Saturday, May 8, 2021 Approved
MariaDB (Install) 10.5.9 2198 Monday, February 22, 2021 Approved
MariaDB (Install) 10.5.8 2392 Wednesday, November 11, 2020 Approved
MariaDB (Install) 10.5.7 493 Wednesday, November 4, 2020 Approved
MariaDB (Install) 10.5.6 1201 Wednesday, October 7, 2020 Approved
MariaDB (Install) 10.5.5 1739 Tuesday, August 11, 2020 Approved
MariaDB (Install) 10.5.4 1480 Wednesday, June 24, 2020 Approved
MariaDB (Install) 10.5.3 1175 Wednesday, May 13, 2020 Approved
MariaDB (Install) 10.5.2 1276 Thursday, March 26, 2020 Approved
MariaDB (Install) 10.5.1 1065 Friday, February 14, 2020 Approved
MariaDB (Install) 10.5.0 717 Friday, December 6, 2019 Approved
MariaDB (Install) 10.4.33 8 Thursday, February 29, 2024 Approved
MariaDB (Install) 10.4.32 18 Monday, November 13, 2023 Approved
MariaDB (Install) 10.4.31 29 Monday, August 14, 2023 Approved
MariaDB (Install) 10.4.30 29 Wednesday, June 7, 2023 Approved
MariaDB (Install) 10.4.29 27 Wednesday, May 10, 2023 Approved
MariaDB (Install) 10.4.28 32 Monday, February 6, 2023 Approved
MariaDB (Install) 10.4.27 44 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.4.26 46 Monday, August 15, 2022 Approved
MariaDB (Install) 10.4.25 51 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.4.24 89 Friday, February 18, 2022 Approved
MariaDB (Install) 10.4.22 72 Monday, November 8, 2021 Approved
MariaDB (Install) 10.4.21 76 Tuesday, October 26, 2021 Approved
MariaDB (Install) 10.4.10 516 Monday, November 11, 2019 Approved
MariaDB (Install) 10.4.8 5522 Thursday, September 12, 2019 Approved
MariaDB (Install) 10.4.7 1250 Thursday, August 8, 2019 Approved
MariaDB (Install) 10.4.6 3773 Friday, July 5, 2019 Approved
MariaDB (Install) 10.3.38 165 Monday, February 6, 2023 Approved
MariaDB (Install) 10.3.37 39 Tuesday, November 8, 2022 Approved
MariaDB (Install) 10.3.36 59 Monday, August 15, 2022 Approved
MariaDB (Install) 10.3.35 60 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.3.34 80 Friday, February 18, 2022 Approved
MariaDB (Install) 10.3.32 69 Monday, November 8, 2021 Approved
MariaDB (Install) 10.3.31 81 Tuesday, October 26, 2021 Approved
MariaDB (Install) 10.3.16 7406 Monday, June 17, 2019 Approved
MariaDB (Install) 10.3.15 1161 Tuesday, May 14, 2019 Approved
MariaDB (Install) 10.3.14 1191 Tuesday, April 2, 2019 Approved
MariaDB (Install) 10.3.13.20190308 745 Friday, March 8, 2019 Approved
MariaDB (Install) 10.3.13 519 Thursday, February 21, 2019 Approved
MariaDB (Install) 10.3.12 918 Monday, January 7, 2019 Approved
MariaDB (Install) 10.3.11 1686 Saturday, December 8, 2018 Approved
MariaDB (Install) 10.2.44 106 Saturday, May 21, 2022 Approved
MariaDB (Install) 10.2.43 97 Friday, February 18, 2022 Approved
MariaDB (Install) 10.2.41 107 Monday, November 8, 2021 Approved
MariaDB (Install) 10.2.40 73 Tuesday, October 26, 2021 Approved

This package has no dependencies.

Discussion for the MariaDB (Install) Package

Ground Rules:

  • This discussion is only about MariaDB (Install) and the MariaDB (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or MariaDB (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus