Skip to content

Commit

Permalink
Merge pull request #210 from ISISComputingGroup/fix_mysql_remove
Browse files Browse the repository at this point in the history
Use remove function in case directory missing
  • Loading branch information
Tom-Willemsen authored Oct 31, 2024
2 parents 27df3b0 + f43a60f commit 4225a04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def _install_latest_mysql8(self, clean_install: bool) -> None:
self._create_mysql_binaries()

if clean_install:
shutil.rmtree(MYSQL_FILES_DIR)
self._remove_old_mysql_data_dir()
os.makedirs(MYSQL_FILES_DIR)
mysqld = os.path.join(MYSQL8_INSTALL_DIR, "bin", "mysqld.exe")

Expand Down

0 comments on commit 4225a04

Please sign in to comment.