You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.logger.log('Successfully deleted database after port issue.')
140
143
}catch(e){
141
144
this.logger.error(e)
142
145
returnreject(`MySQL failed to listen on a certain port. To restart MySQL with a different port, the database directory needed to be deleted. An error occurred while deleting the database directory. Aborting. The error was: ${e}`)
throw'libaio could not be found while running system-installed MySQL. libaio must be installed on this system for MySQL to run. To learn more, please check out https://dev.mysql.com/doc/refman/en/binary-installation.html'
332
-
}
333
-
334
321
if(retry===false){
335
322
this.logger.error('An error occurred while initializing database:',stderr)
336
323
throw'Tried to copy libaio into lib folder and MySQL is still failing to initialize. Please check the console for more information.'
throw'libaio could not be found while running system-installed MySQL. libaio must be installed on this system for MySQL to run. To learn more, please check out https://dev.mysql.com/doc/refman/en/binary-installation.html'
328
+
}
329
+
330
+
// If the below code is running, the version of MySQL that is trying to be executed was downloaded from the CDN by this package and libaio has not yet been attempted to be copied
this.logger.error('The following libaio error occurred:',stderr)
343
336
this.logger.error('After the libaio error, an ldconfig error occurred:',lderror||ldstderr)
344
-
throw'The ldconfig command failed to run. This command was ran to find libaio because libaio could not be found on the system. libaio is needed for MySQL to run. Do you have ldconfig and libaio installed? Learn more about libaio at Learn more at https://dev.mysql.com/doc/refman/en/binary-installation.html'
337
+
throw'The ldconfig command failed to run. This command was ran to find libaio1t64 because libaio1t64 could not be found on the system. libaio1t64 is needed for MySQL to run. Do you have ldconfig and libaio1t64 installed? Learn more at https://dev.mysql.com/doc/refman/en/binary-installation.html'
this.logger.error('Error from launching MySQL:',stderr)
349
-
throw'An error occurred while launching MySQL. The most likely cause is that libaio1 and libaio1t64 could not be found. Either libaio1 or libaio1t64 must be installed on this system for MySQL to run. To learn more, please check out https://dev.mysql.com/doc/refman/en/binary-installation.html. Check error in console for more information.'
342
+
this.logger.error('Could not find libaio1t64 in this list:',libaioFound)
343
+
throw'An error occurred while launching MySQL because libaio1t64 is not installed on your system. Please install libaio1t64 and then use mysql-memory-server again. To learn more, please check out https://dev.mysql.com/doc/refman/en/binary-installation.html. Check error in console for more information.'
350
344
}
351
345
constlibaioEntry=libaioFound[0]
352
346
constlibaioPathIndex=libaioEntry.indexOf('=>')
@@ -417,17 +411,17 @@ class Executor {
417
411
if(copyError){
418
412
throw'An error occurred while copying libaio1t64 to the MySQL lib folder. Please check the console for more details.'
419
413
}
420
-
421
-
//Retry setting up directory now that libaio has been copied
throw'Cannot recognize file structure for the MySQL binary folder. This was caused by not being able to find libaio. Try installing libaio. Learn more at https://dev.mysql.com/doc/refman/en/binary-installation.html'
416
+
417
+
//Retry setting up directory now that libaio has been copied
throw'You do not have libaio1 installed. Please install the libaio1 package for the downloaded MySQL binary to run. Learn more here: https://dev.mysql.com/doc/refman/en/binary-installation.html'
0 commit comments