Coder Social home page Coder Social logo

Install fails on mysql:5.7 about scalar HOT 5 CLOSED

anvc avatar anvc commented on July 22, 2024
Install fails on mysql:5.7

from scalar.

Comments (5)

craigdietrich avatar craigdietrich commented on July 22, 2024

Thanks for the report, Paul!

Did you recently upgrade to 5.7, and noticed the problem? There's four places where 'datetime' turns up in the SQL file:

3 are like this:
created datetime NOT NULL
The other is like this:
datetime timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP

I'm guessing it's the NOT NULL in the 3 like statements, since there isn't a default set. Curious if you could try, NOT NULL DEFAULT NOW(), and see if that works?

from scalar.

paulshannon avatar paulshannon commented on July 22, 2024

I was setting up a new install. It's the NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP that is throwing the error.

I'll try and nail down a fix on monday.

from scalar.

craigdietrich avatar craigdietrich commented on July 22, 2024

Great, thanks for taking a look!

If changes are needed, happy to administer a pull request, or we can add you to the project.

from scalar.

paulshannon avatar paulshannon commented on July 22, 2024

I think there is some additional compatibility problems with some newer versions of Mysql (couldn't create an account on 5.6). I've reinstalled on 5.5 and it seems to be fine. Probably worth investigating at some point.

from scalar.

craigdietrich avatar craigdietrich commented on July 22, 2024

I've created a ticket in our internal issue tracker, will take a look. Thanks!

from scalar.

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.