Git Product home page Git Product logo

hersql's People

Contributors

orlion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jackypeng66 yhgcs

hersql's Issues

运行提示no dsn specified before the query

2023-05-12T15:56:35.459+0800 INFO server/handler.go:37 NewConnection:[127.0.0.1:55438], id:[22822048]
2023-05-12T15:56:35.460+0800 INFO server/handler.go:42 ComInitDB:[127.0.0.1:55438], id:[22822048] schemaName:[]
2023-05-12T15:56:35.460+0800 ERROR server/handler.go:72 ComQuery:[SET NAMES utf8mb4], connection:[127.0.0.1:55438], id:[22822048] err:[no dsn specified before the query:[SET NAMES utf8mb4], you can try restarting the mysql client]
2023-05-12T15:56:35.461+0800 ERROR server/handler.go:72 ComQuery:[SHOW VARIABLES LIKE 'lower_case_%'], connection:[127.0.0.1:55438], id:[22822048] err:[no dsn specified before the query:[SHOW VARIABLES LIKE 'lower_case_%'], you can try restarting the mysql client]
2023-05-12T15:56:35.462+0800 ERROR server/handler.go:72 ComQuery:[ SHOW VARIABLES LIKE 'sql_mode'], connection:[127.0.0.1:55438], id:[22822048] err:[no dsn specified before the query:[ SHOW VARIABLES LIKE 'sql_mode'], you can try restarting the mysql client]
2023-05-12T15:56:35.462+0800 ERROR server/handler.go:72 ComQuery:[ SELECT COUNT() AS support_ndb FROM information_schema.ENGINES WHERE Engine = 'ndbcluster'], connection:[127.0.0.1:55438], id:[22822048] err:[no dsn specified before the query:[ SELECT COUNT() AS support_ndb FROM information_schema.ENGINES WHERE Engine = 'ndbcluster'], you can try restarting the mysql client]
2023-05-12T15:56:35.462+0800 INFO server/handler.go:61 ConnectionClosed:[127.0.0.1:55438], id:[22822048]

mysql协议格式似乎不全

data = append(data, []byte(mysql.MysqlNativePassword)...)

append(data, c.salt[8:]...)append(data, []byte(mysql.MysqlNativePassword)...)之间是不是应该有个data = append(data, 0)

ubuntu 22.04上看抓包信息发现格式不对,补上 “00”后似乎正常了

抓包信息解析为mysql协议后的异常

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.