Code Monkey home page Code Monkey logo

Comments (6)

ajnavarro avatar ajnavarro commented on September 3, 2024 1

Closing this as is not needed to ignore set anymore, it is already implemented.

from go-mysql-server.

erizocosmico avatar erizocosmico commented on September 3, 2024

SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ is not even parseable by vitess.

This is the full list of queries executed by MySQL workbench.

set autocommit=1
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ
SHOW SESSION VARIABLES LIKE 'lower_case_table_names'
SELECT current_user()
SET CHARACTER SET utf8
SET NAMES utf8
SHOW SESSION VARIABLES LIKE 'sql_mode'
SELECT CONNECTION_ID()
SHOW SESSION STATUS LIKE 'Ssl_cipher'
USE `db`
SHOW GLOBAL STATUS

Even after passing all those queries, the following error is shown by the app:

screen shot 2018-03-08 at 14 39 04

I don't know if all this is worth the work it implies for the time being.

from go-mysql-server.

jfontan avatar jfontan commented on September 3, 2024

It may not be worth for the first version. We may also want to test other clients, for example:

from go-mysql-server.

smola avatar smola commented on September 3, 2024

Ignoring the SET keyword altogether might not be desirable, since the client might be expecting that those SET have a particular behaviour. Maybe this issue should be changed to just look into what we can do to make it compatible with MySQL Workbench?

from go-mysql-server.

erizocosmico avatar erizocosmico commented on September 3, 2024

@smola yep. SET is implemented in #129, but vitess does not support the syntax of all the SET commands workbench sends.

Here's #63 (comment) the full list of commands we need to support for that

from go-mysql-server.

mcuadros avatar mcuadros commented on September 3, 2024

We don;t need to support workbench or any other admin tool, the request of ignoring the SET was a quick solution to make it work, but if it requires any mid/big work, we are not going to do oit.

from go-mysql-server.

Related Issues (20)

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.