iroddis / asdf-mysql

A MySQL Plugin for asdf
GNU General Public License v2.0
19 stars 8 forks source link

8.0.30 #28

Closed httpete closed 2 years ago

httpete commented 2 years ago

Hi,

I have an email in to the mirrorservice because for some reason 8.0.30 isn't there. This is just a heads up if anyone else is hitting this and I will update this ticket.

httpete commented 2 years ago

I just heard back from them and they say:

It looks like the MySQL rsync service has stopped working at some point. Looking around at other mirrors I see they're in the same state. I'll see if I can get them to sort it, but it may well be that Oracle have just decided they don't want people distributing it any more.

Tim.

If this is the case, asdf-mysql needs a new way to get versions.

iroddis commented 2 years ago

It looks like 8.0.30 still isn't available on mirrorservice, and the only way I can find to download it is via the web UI. Short of hard-coding URLs into the plugin, it seems like this distribution is a bit broken.

Oracle's passive aggressive stance towards open source knows no bounds... I'll keep checking for a workaround, but would people be interested in an asdf-mariadb option?

httpete commented 2 years ago

Don't they allow install via yum or other package managers? Why would they care if they distribute this way? Are we sure that they are blocking it?

iroddis commented 2 years ago

Many users want/need to match MySQL versions running in prod / dev / work environments. Package managers don't generally allow you to specify the version to install, or if they do, they don't allow multiple installs with different versions. asdf and similar programs allow you to do both of those things, which makes it easier to do development work, test the impact of version changes, etc.

I'm not sure they're blocking, but so far I haven't found a reliable way to pull the binaries that doesn't involve full-on scraping of their website forms. I have zero faith that the forms will remain consistent enough to be useful over the long term.

I've reached out to mirrorservice as well to see if I can help with their efforts, or figure out an alternate source.

httpete commented 2 years ago

I agree. That is why I love asdf. It makes it so easy to manage a dev env. I can't understand why Oracle would stop distribution.

iroddis commented 2 years ago

Could you give the latest master a try, please? I've switched sources away from MirrorService to the amazing, hand-maintained database of the dbdeployer project.

The advantages are many:

httpete commented 2 years ago

worked as if by magic! absolutely fantastic! I Can't thank you enough @iroddis

httpete commented 2 years ago

For others I:


asdf plugin update --all
asdf install mysql 8.0.30
asdf global mysql 8.0.30

mysqld_safe &
iroddis commented 2 years ago

I'm glad to hear it! After finding dbdeployer, it was just a case of extracting the information from their JSON database. I'll close this for now, but please let me know if you run into any other issues.

Also, thank you very much for reporting this, @httpete, and following up with MirrorService in the first place. That leg work was really helpful!