Code Monkey home page Code Monkey logo

Comments (4)

srcatto avatar srcatto commented on June 8, 2024

The current versions of MAMP & XAMPP are not MySQL 8.0. When this changes the updates will be made, it's already been tested.

from wa4e.

csev avatar csev commented on June 8, 2024

Stephen - If we make this change - won't it work for both MySQL 5 and 8?

from wa4e.

srcatto avatar srcatto commented on June 8, 2024

Hi Chuck,

It looks like it, there is also the issue to update ENGINE=InnoDB CHARACTER SET=utf8mb4; so the default isn't the utf8 alias to utf8mb3. It looks like at some point the alias will change anyway, but don't use it, be explicit instead.
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html

Mostly I didn't want to submit these changes when the course was busy, and I still haven't done a 2nd or 3rd LAMP from scratch to verify. I haven't forgotten. There was a note on MAMP that the MAC 6.0 version might have been MySQL 8.0 but that didn't happen. The one big change was switching to PHP 8.0 in XAMPP and MAMP.

from wa4e.

srcatto avatar srcatto commented on June 8, 2024

Update, course 2 music db, copied working assignment to a new PC via phpMyAdmin Export (2 years old), into new system running MySQL 8.0.22 and received multiple warnings,

Warning: #1681 Integer display width is deprecated and will be removed in a future release.

That is for all the lines, like
account_id INT(11);
that were converted from
account_id INTEGER
by the previous export.

MySQL info, it's a difference after 8.0.17
https://dev.mysql.com/doc/refman/8.0/en/numeric-type-attributes.html

Will need to go back and check course examples, it may just be an Export / Import issue and nothing needs changed.

Course 3 autos,
1)fixed phpMyAdmin syntax errors. Code worked correctly but students do post about the red circle X.
2)year is now a reserved word, use backticks for all table, column names.

from wa4e.

Related Issues (12)

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.