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:

330

Downloads of v 2.11.0.0:

330

Last Update:

11 Feb 2021

Package Maintainer(s):

Software Author(s):

  • KellermanSoftware

Tags:

sql server mssql mysql oracle postgres sqlite vistadb ms access

Database Searcher

  • 1
  • 2
  • 3

2.11.0.0 | Updated: 11 Feb 2021

Downloads:

330

Downloads of v 2.11.0.0:

330

Maintainer(s):

Software Author(s):

  • KellermanSoftware

Database Searcher 2.11.0.0

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by KellermanSoftware. The inclusion of KellermanSoftware trademark(s), if any, upon this webpage is solely to identify KellermanSoftware goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Database Searcher, run the following command from the command line or from PowerShell:

>

To upgrade Database Searcher, run the following command from the command line or from PowerShell:

>

To uninstall Database Searcher, 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 search-sql-server-database -y --source="'INTERNAL REPO URL'" [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 search-sql-server-database -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install search-sql-server-database
  win_chocolatey:
    name: search-sql-server-database
    version: '2.11.0.0'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'search-sql-server-database' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.11.0.0'
end

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


cChocoPackageInstaller search-sql-server-database
{
    Name     = "search-sql-server-database"
    Version  = "2.11.0.0"
    Source   = "INTERNAL REPO URL"
}

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


package { 'search-sql-server-database':
  ensure   => '2.11.0.0',
  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.

Package Approved

This package was approved by moderator flcdrg on 27 Feb 2021.

Description

Database Searcher is like a search engine for your database. It will search all columns for all tables over multiple databases. It will return a summary of matches, the generated SQL and the detailed matches per table. It will also search the schema by the table names or column names. Knowledge of SQL queries is not required. Database Searcher supports Firebird, MS Access, MySQL, Oracle, PostgreSQL, SqLite, SQL Server, VistaDB Version 5 and VistaDB Version 6.


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName= 'search-sql-server-database' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = '' # download url, HTTPS preferred
$url64      = '' # 64bit URL here (HTTPS preferred) or remove - if installer contains both (very rare), use $url
$fileLocation = Join-Path $toolsDir 'DatabaseSearcher_Chocolatey.exe'
$destDir    = Join-Path $toolsDir 'bin'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url
  url64bit      = $url64
  file         = $fileLocation

  softwareName  = 'search-sql-server-database*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique

  checksum      = '49bf7037313d56f1695d3817468a6bc68129e470ca4b634b7432ed13317f3a56'
  checksumType  = 'sha256' #default is md5, can also be sha1, sha256 or sha512
  checksum64    = '49bf7037313d56f1695d3817468a6bc68129e470ca4b634b7432ed13317f3a56'
  checksumType64= 'sha256' #default is checksumType

   silentArgs    = "/SILENT=YES /DESTINATION=$destDir"
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyInstallPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-install-package

$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")

$targetPath = Join-Path $toolsDir 'bin\KellermanSoftware.DatabaseSearcher.exe'
$shortcutFilePath = Join-Path $DesktopPath 'Database Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$targetPath = Join-Path $toolsDir 'bin\KellermanSoftware.DatabaseSearcher.exe'
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Database Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$targetPath = Join-Path $toolsDir 'bin\DatabaseSearcher-Help.chm'
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Database Searcher Help.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Uninstall.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath 'choco' -Arguments 'uninstall search-sql-server-database' -RunAsAdmin









tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName = 'search-sql-server-database'
$softwareName = 'search-sql-server-database*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
$installerType = 'EXE' 

$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
  $validExitCodes = @(0)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"

      $file = ''
    }

    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}


$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")

$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Uninstall.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $DesktopPath 'Database Searcher.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Database Searcher.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher\Database Searcher Help.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Database Searcher'
Remove-Item $shortcutFilePath



tools\DatabaseSearcher_Chocolatey.exe
md5: 0C06E9850BB2880162EE7FCF979BA235 | sha1: BD96EAC1AF9339702895027349D98087A60F8A0C | sha256: 49BF7037313D56F1695D3817468A6BC68129E470CA4B634B7432ED13317F3A56 | sha512: 973EAB72D4A5DBD6F1361BD7517F706408673FD5103A1093827DFDA0A1A9BEBFD2AD91AC53197020F581582AD939DA1CFE80512BDFB90CF37EC03608EFF0F9DD
tools\DatabaseSearcher_Chocolatey.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v2.0.50727"/>
    <supportedRuntime version="v4.0" />
  </startup>
</configuration>
tools\LICENSE.txt

From: http://www.kellermanstores.com/downloads/licensing/database-searcher.rtf

LICENSE

Kellerman Software END-USER LICENSE AGREEMENT FOR Search SQL Server Database

Kellerman Software END-USER SOFTWARE LICENSE AGREEMENT

This End-User License Agreement ("EULA") pertains to Kellerman Software Copyrighted computer software (the "Software").  Please read the terms and conditions of this End-User License Agreement ("EULA") before installing or otherwise using the Software. 

This End-User License Agreement ("EULA") is a legally enforceable contract between you ("Customer" or "you") and Kellerman Software.  By clicking "I accept", installing, copying, or otherwise using any part of the Software or any associated media, any printed materials, or any "online" or electronic documentation, you agree to be bound by the terms of this EULA.  If you do not agree to the terms of this EULA, promptly return the unused Software to your supplier for a full refund. 


1.	LICENSE GRANT

The Software and related documentation is licensed, not sold. Any rights not clearly and expressly granted to you under this EULA are reserved to Kellerman Software. Provided you have paid all applicable fees, registered the Software with Kellerman Software, and otherwise complied with this EULA, Kellerman Software grants you the following personal, non-exclusive, non-transferable, perpetual license with limited rights:

a.	The Software may only be used by a single user per license purchased.  The Software may be installed on workstations, laptops, and removable devices provided the Software is used ONLY by a licensed user.  The Software may also be copied for archival purposes, provided the copy contains all of the original Software's proprietary notices.

b.	You may not decompile, disassemble, extract or otherwise reverse engineer any of the Software. You shall not have the right to obtain or use any source code for the Software, nor copy, reproduce, disclose, rent, lease, loan, distribute or use the Software except as provided above.  

c.  Licensee may not assign or transfer his rights and duties under this license.

d.  This license is granted perpetually, as long as you do not materially breach it.


2.  WARRANTY

a.	Licensor hereby warrants that The Software does not violate or infringe any 3rd party claims in regards to intellectual property, patents and/or trademarks and that to the best of its knowledge no legal action has been taken against it for any infringement or violation of any 3rd party intellectual property rights.

b.	The Software is provided without any warranty; Licensor hereby disclaims any warranty that The Software shall be error free, without defects or code which may cause damage to Licensee’s computers or to Licensee, and that Software shall be functional. Licensee shall be solely liable to any damage, defect or loss incurred as a result of operating software and undertake the risks contained in running The Software on License’s Server[s] and Website[s].

c.  Prior Inspection: Licensee hereby states that he inspected The Software thoroughly and found it satisfactory and adequate to his needs, that it does not interfere with his regular operation and that it does meet the standards and scope of his computer systems and architecture. Licensee found that The Software interacts with his development, website and server environment and that it does not infringe any of End User License Agreement of any software Licensee may use in performing his services. Licensee hereby waives any claims regarding The Software's incompatibility, performance, results and features, and warrants that he inspected the The Software.


3.	TERMINATION

The license will terminate automatically if you fail to comply with the terms, conditions, or limitations contained in this EULA, including the payment of applicable license or other fees.  You may terminate this EULA at any time (with no obligation on the part of Kellerman Software) by destroying all copies of the Software, deleting any copies of the Software from your hard drives or other media ceasing all use of the Software and documentation; and providing satisfactory proof to Kellerman Software that you have done so.  The disclaimer of warranty and limitations on liability shall continue in force even after your rights to use the Software are terminated.


4.   DEMO OR EVALUATION VERSIONS

If Kellerman Software designates the Software as a "Demo" or "Evaluation" version, you may use the Software solely for evaluation purposes for a 30-day period.  Use of the Software and/or documentation beyond the 30-day evaluation period violates Kellerman Software' rights, as described above, including but not limited to Kellerman Software' rights under the United States Copyright Act. You acknowledge that any Demo or Evaluation version is merely a technology demonstration that may not be at the level of performance or compatibility of generally available Kellerman Software' products. Demo or Evaluation versions are provided strictly on an "as is" basis and are subject to Section 2 above.


5.   UPGRADES

If the Software is designated by Kellerman Software as an Upgrade product, you may only use the Software if you are also currently a licensed user of the base product to which the Upgrade applies.  Unless the Kellerman Software documentation for an Upgrade specifically provides, you shall not separate upgrade products from base products, nor transfer them separately.  Kellerman Software reserves the sole and exclusive right to set its policies and prices regarding updates, upgrades and enhancements.  All other terms of this EULA apply with equal force to any such Upgrades.


6. INDEMNIFICATION

Licensee hereby warrants to hold Licensor harmless and indemnify Licensor for any lawsuit brought against it in regards to Licensee’s use of The Software in means that violate, breach or otherwise circumvent this license, Licensor's intellectual property rights or Licensor's title in The Software. Licensor shall promptly notify Licensee in case of such legal action and request Licensee’s consent prior to any settlement in relation to such lawsuit or claim.


7.  GOVERNING LAW, JURISDICTION
Licensee hereby agrees not to initiate class-action lawsuits against Licensor in relation to this license and to compensate Licensor for any legal fees, cost or attorney fees should any claim brought by Licensee against Licensor be denied, in part or in full.
tools\VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
Now supports Firebird, MS Access, MySQL, Oracle, PostgreSQL, SqLite, SQL Server, VistaDB Version 5 and VistaDB Version 6.

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

Now supports Firebird, MS Access, MySQL, Oracle, PostgreSQL, SqLite, SQL Server, VistaDB Version 5 and VistaDB Version 6.


This package has no dependencies.

Discussion for the Database Searcher Package

Ground Rules:

  • This discussion is only about Database Searcher and the Database Searcher 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 Database Searcher, 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