D:\develop\mysql-5.7.27-winx64\bin>mysqld –initialize
mysqld: Can’t create directory ‘D:\mysql-5.7.27-winx64\data’ (Errcode: 2 – No such file or directory)
2021-06-27T11:23:41.634820Z 0 [ERROR] Can’t find error-message file ‘D:\mysql-5.7.27-winx64\share\errmsg.sys’. Check error-message file location and ‘lc-messages-dir’ configuration directive.
2021-06-27T11:23:41.638039Z 0 [ERROR] Aborting
Solution:
Just modify the path in the my.ini configuration file
Read More:
- [Solved] Error executing Jupyter command ‘notebook‘: [Errno 2] No such file or directory
- [Solved] Job for mysqld.service failed because the control process exited with error code.
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- How to Solve brew ERROR in `initialize‘: Version value must be a string; got a NilClass ()
- Bazel error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/flashroute/flashroute-2.p
- [Solved] Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode.
- [Solved] Logging system failed to initialize using configuration from ‘classpathlogbacklogback-spring.xml‘
- [Solved] Win nvidia-smi Cann’t Use,Failed to initialize NVML: Unknown Error
- Error: Can’t initialize nvrm channel [How to Solve]
- [Solved] Latex&VScode Error: I found no bibdata command//command//citation—while reading file*.aux
- [Solved] loadrunner Error: Failed to Initialize. Reason: TimeOut
- [Solved] KeyCloak users check their profile error: “failed to initialize keycloak”
- How to Solve Error while executing: am start -n
- [Solved] Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com.and
- How to Solve Docker failed to initialize Error
- SpringBoot Error running ‘Application’: Command line is too long.Shorten command line for
- [Solved] C# Access Mongodb Database Error: command find failed: Command find requires authentication
- Error running ‘PigSellCabinetApplication’: Command line is too long. Shorten command line for PigSellCabinetApplication or also for Spring Boot default configuration
- [Solved] Laravel reports an error when executing composer update
- [Android Error] java.lang.RuntimeException: An error occurred while executing doInBackground()