Go to the folder of the github
repo.
Download the sys_schema folder using
gitzip or any other available
extensions. I personally used gitzip. Needless to say you can
download the whole mysql-server repo but that would be inefficient
as you do not need everything and it has a heavy download size.
Extract it to a folder and cd into it
Log in to the mysql client
mysql -u root -p
Import the sys_57.sql file. Don't mind the name, it is compatible
with mysql 8. using
source ./sys_57.sql
There you go, you have your sys schema back. Thanks to danblack for giving me a cue.
P.S akina this is
computer, there is always a way
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…