Please excuse the extremely basic question, but I can't figure out where I went wrong here.
When I run database_installer.bat, it fails to create the backup and the database. I assumed at first it was because pointing to the wrong mysql executable, but I don't think that's it. The following is what I have tried so far.
Database_installer.bat: Troubleshooting Process
-C:\l2jserver\tools\xampp\mysql\bin [different mysql executables]
-C:\Program Files\MariaDB 10.5\bin\
-Change HeidiSQL's password
-Started over
-Admin rights with the bat file
-Executed within CMD
Notes:
-DB port: Using 3307. 3306 is being used by something else, but not another instance of xampp.
-My DB names within heidiSQL with utf8_general_ci, l2jls, l2jgs, & l2jcs
final int id = 57;
final int num = 5000000;
final Collection<L2PcInstance> players = L2World.getInstance().getAllPlayers();
final HashSet<Object> seen = new HashSet<>();
players.removeIf(e -> !seen.add(e.getClient().getConnection().getInetAddress().getHostAddress()));
players.forEach(player -> player.addItem("Admin-Reward", id, num, null, true));
activeChar.sendMessage(String.format("Mass-created items in the inventory of %s player(s)",players.size()));
LOGGER.info(Stri
Question
shorthands1 0
Please excuse the extremely basic question, but I can't figure out where I went wrong here.
When I run database_installer.bat, it fails to create the backup and the database. I assumed at first it was because pointing to the wrong mysql executable, but I don't think that's it. The following is what I have tried so far.
Database_installer.bat: Troubleshooting Process
-C:\l2jserver\tools\xampp\mysql\bin [different mysql executables]
-C:\Program Files\MariaDB 10.5\bin\
-Change HeidiSQL's password
-Started over
-Admin rights with the bat file
-Executed within CMD
Notes:
-DB port: Using 3307. 3306 is being used by something else, but not another instance of xampp.
-My DB names within heidiSQL with utf8_general_ci, l2jls, l2jgs, & l2jcs
-Following canislupus's guide & Zealer's guide
-Currently using Repository bitbucket with Interlude at this moment
-Tried Sarimoko's repository as well
-vars.txt
-Windows 10 VM
-HeidiSQL_10.3_64_Portable, eclipse-jee-2019-12-R-win32-x86_64, 7-Zip 19.00, MariaDB 10.5, Java jdk1.8.0_231 64bit
Error Messages:
-Backup attempt failed! DB doesn't exist yet?
-There was some problem while executing: path to mysql.exe
Thanks!
Share this post
Link to post
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.