Giter VIP home page Giter VIP logo

azure-pipelines-tasks-mysql's Introduction

Icon

MySQL Toolkit for Windows

CI Status

MySQL Toolkit for Windows is a VSTS / TFS extension and contains helpful tasks for build and release definition for MySQL servers. You can run ad-hoc MySQL command, script or scripts collection on Windows Agents including Windows Hosted Agents (Linux Agents not supported).

NOTE

Connection to MySQL server based on Connection String. Certificate connection is not supported.

Tasks

  • Run MySQL command This task will run an ad-hoc query against your server or database.

  • Run MySQL script This task will run a specified SQL script against your server or database.

  • Run MySQL scripts This task will run all of the SQL scripts in the specified folder against your server or database.

Task Catalog

NOTE

Each task can be executed on Server or Database level.

Requirements

  • If you want to use this extension on Private Windows Agents, see Windows System Pre-requisites and make sure .NET Framework 4.5 or newer is installed.
  • Hosted Windows Agents meet system requirements for this extension, see Software on the hosted build server for reference.
  • PowerShell 3.0
  • Hosted or Private Agents must have network connection to MySQL servers

Release Note

0.0.2

0.0.1

  • Initial version on Visual Studio Marketplace.

Support

Support for this extension is provided on GitHub Issue Tracker. You can submit a bug report, a feature request or participate in discussions.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

The extension is licensed under the MIT License (MIT), see license. Please see the third-party notices file for additional copyright notices and license terms applicable to portions of the software.

azure-pipelines-tasks-mysql's People

Contributors

dariuszporowski avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ahdde gautamksr

azure-pipelines-tasks-mysql's Issues

Error in DELIMITER while Executing procedure.sql

Hi,

I have tried with all possible syntax for DELIMITER // , DELIMITER $$ and DELIMITER ;
But there is error throw while execute the stored procedure.sql (which has many procedure). could any one help me to shorted out this issues

Details of error:

Error running MySQL scripts: Exception calling "Fill" with "1" argument(s): "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER //
CREATE PROCEDURE test ()
BEGIN
select * from organisation;
' at line 1"

Error running MySQL script: Exception calling "Fill" with "1" argument(s): "Index was outside the bounds of the array."

Hi Dariusz,

I'm trying to run a MySQL script against a ClearDB hosted MySQL database. This script is running just fine using MySQL workbench on same target DB and using exact same credentials. However, when executed on Visual Studio Online build using "Run MySQL script" task, I'm seeing following error.

Error running MySQL script: Exception calling "Fill" with "1" argument(s): "Index was outside the bounds of the array."
mysql error

Appreciate your help here :)

Encoding bug

Hi,

you have a bug in your tasks. When fetching file content with the Get-Content cmdlet you aren't specifying the Encoding flag, so powershell uses the default encoding which is System.Text.ASCIIEncoding, so any characters not in that set will not be displayed correctly.

Example is in your RunMySqlScript.ps1, line 33.

With kind regards,

Tomislav

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.