Git Product home page Git Product logo

Comments (7)

bcardiff avatar bcardiff commented on June 26, 2024

@airinfection, from the trace it seems that either the connection configuration is wrong or the database server is down.

from crystal-mysql.

airinfection avatar airinfection commented on June 26, 2024

My mysql 5.7 server is running. Username, password and host correct.
And i am trying example on your doc.

It was working before interesting..

from crystal-mysql.

airinfection avatar airinfection commented on June 26, 2024

stopped working with the last release of crystal.

from crystal-mysql.

bcardiff avatar bcardiff commented on June 26, 2024

@airinfection travis and local are passing with latest crystal version and mysql 5.7. the specs enforce a login with explicit password.

$ crystal --version
Crystal 0.21.0 (2017-02-21)
$ mysql --version
mysql  Ver 14.14 Distrib 5.7.17, for osx10.12 (x86_64) using  EditLine wrapper
$ crystal spec
169 examples, 0 failures, 0 errors, 0 pending

Is there any new information you could provide?

from crystal-mysql.

airinfection avatar airinfection commented on June 26, 2024

is that mysql://username:password@localhost/dbname isnt it

from crystal-mysql.

airinfection avatar airinfection commented on June 26, 2024

i installed ubuntu 16.10 it magically worked.
still trying to understand why the old one did not work.
db collation maybe

from crystal-mysql.

bcardiff avatar bcardiff commented on June 26, 2024

Closing then, but please, reopen if there is any new info to provide.

from crystal-mysql.

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.