1.mysqld: Could not create or access the registry key needed for the MySQL application
请去C:\Windows\System32打开cmd.exe试一试
2.[ERROR] --initialize specified but the data directory has files in it. Aborting.
[ERROR] Aborting
修改my.ini文件中datadir的路径为data文件夹的路径