Skip to content

Throw informative error when Visual C++ Redistributable is not installed on Windows #238

@Sebastian-Webster

Description

@Sebastian-Webster

Currently when running certain versions of MySQL with this package without the Visual C++ Redistributable installed, the following error would be thrown:

[mysql-memory-server - ERROR]: Error: The database exited early with code 3221225781. The error log was: ERROR WHILE READING LOG: Error: ENOENT: no such file or directory, open 'C:\Users\windows\AppData\Local\Temp\mysqlmsn\dbs\0047a37a5d104ac5ba4272083883d06b\data\errorlog.err' The error string was: "".

On the face of it this error looks very confusing and it's not clear what the issue is at first glance. When the database exits with code 3221225781, an informative error should be thrown to better explain the cause of this issue and how to fix the problem.

Metadata

Metadata

Labels

WindowsThe issue specifically relates to mysql-memory-server running on Windows platformsenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions