If you are still able to log in (I assume you aren't since there's no user table) and have databases to save, dump them with
mysqldump --routines databasename > outfile.sql
The MySQL database can be recreated with the command
# Most MySQL versions
mysql_install_db
# MySQL 5.7 and later
mysqld --initialize
MySQL Documentation here
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…