iroddis / asdf-mysql

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

Failing installation #2

Closed tasugo closed 4 years ago

tasugo commented 4 years ago

I'm using Manjaro 20.0.1 and installation fails:

➜ asdf install mysql 8.0.19

~/.asdf/plugins/mysql/bin/install: line 17: arch: command not found
grafixen commented 4 years ago

The URL (mysql.he.net/mysql/Downloads) where the plugin seems to check for MySql versions seem to be dead

ctrlaltdylan commented 4 years ago

You'd think it'd be easy to find a google cache'd page or at least an index of MySQL versions, but alas nothing yet.

ctrlaltdylan commented 4 years ago

Maybe the github repo tags list is the most definitive index?

https://github.com/mysql/mysql-server/tags

grafixen commented 4 years ago

If you look into the code you'll see that the files were stored in the server

rsync://mysql.he.net/mysql/Downloads/MySQL-"${MAJOR}.${MINOR}"/${FILE} \ ${tmp_download_dir}/. 2>/dev/null

Version detection and tagging is also done through the same server.

ctrlaltdylan commented 4 years ago

Right exactly. I'm just thinking since those pages have since 404'd it might be best to just rely on the MySQL github rep for version parsing & retrieval.

iroddis commented 4 years ago

I updated the server used to find versions and retrieve versions to something that works. Sorry, I wasn't receiving emails about these issues. Hopefully this new site will be a little more robust. If you're still running into issues, just let me know.

ctrlaltdylan commented 4 years ago

hi @iroddis that's awesome. I've ended up using brew to install 1 mysql version on my machine which hasn't been an issue yet. But would be happy to try out this once I need to upgrade to mysql 5.8.