well if you had it running before, i would say change the configuration back to how you had it running, and then the only thing you should need to change is in the auth database, in the realmlist table in the address column of the row your server is on, change that to your hamachi ip, leave the local ip alone. that you do in navicat. you also may need to play with your client realmlist.wtf and change it to your hamachi ip on both yours and your friends client.

well I can tell you this, it's probably killing the authserver because the database tables aren't set up. Your authserver.conf doesn't contain the previous settings I mentioned, because it is an older version of the core. I would suggest checking where the LogsDir is set to, you should find a file named Auth.log there to give you a better explanation of why the server is exiting.
as far as the db goes, i think you'll have to manually import the sql db creation file, which i believe is called create_mysql.sql (dont forget to modify the user and password for every query in the file before importing it).
Tough to know what is changed in a repack.

autherserver.conf needs to be edited.
Line 185
LoginDatabaseInfo = "127.0.0.1;3306;dbuser;dbpass"
and Line 63 should remain
BindIP = "0.0.0.0"
unless you have some special configuration where your core and db are on separate machines or VMs
mysql only allows local connections, unless you specifically enable remote connections for specific ip's

first off, are you on windows or linux?
on linux, i think you define
-DCONF_DIR=/home/trinitycore/conf
to whatever directory you want them to be built in. ref: https://trinitycore.atlassian.net/wiki/spaces/tc/pages/10977309/Linux+Core+Installation
pretty sure in windows, you just change the location of the same cmake flag