[Server] X Plugin ready for connections. Bind-address: '::' port: 33060
2024-01-01T07:59:12.559348Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-01-01T07:59:12.559941Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-01-01T07:59:12.563946Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file 'D:\SQL\MySQL\MySQL Server 8.0\Data\??????.pid' (OS errno 2 - No such file or directory)
2024-01-01T07:59:12.565205Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory
2024-01-01T07:59:12.568570Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-01-01T07:59:13.696155Z 0 [System] [MY-010910] [Server] D:\SQL\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.23) MySQL Community Server - GPL.
记录一下我自己Mysql启动不了解决问题的方法,
正如标题上说的,没有权限,其实是我自己把电脑的名字设置成了中文+特殊符号
改过来就好了
在Windows操作系统中,查看计算机名非常简单。首先要打开“控制面板”。在“控制面板”窗口中,选择“系统和安全”(Windows 10系统)或“系统和维护”(Windows 7系统),然后选择“系统”选项卡。在“系统”选项卡中,可以看到计算机名和工作组名。计算机名通常是由几个词组成的,这些词用点(.)分隔。例如,计算机名可以是computer1.homegroup或者laptop.user。
顺便记录一下自己愚蠢的行为。