mysql 1067 进程意外终止+Can't create/write to file 'C:\Windows\system32\config\SYSTEM~1\LOCALS~1\Temp\#sql

  • mysql 1067 进程意外终止

问题:长时间没使用MYSQL数据库后,mysql无法启动:

mysql 1067 进程意外终止+Can't create/write to file 'C:\Windows\system32\config\SYSTEM~1\LOCALS~1\Temp\#sql

 解决方法:进入Mysql的安装文件夹找到my.int里有一句:default-engien=INNODB改为MYISAM

  • Can't create/write to file 'C:\Windows\system32\config\SYSTEM~1\LOCALS~1\Temp\#sql..'(Errcode:2)

问题:Mysql正确启动后,无法进行查表

mysql 1067 进程意外终止+Can't create/write to file 'C:\Windows\system32\config\SYSTEM~1\LOCALS~1\Temp\#sql

解决方案:在my.int中[mysqld]中指定临时目录

mysql 1067 进程意外终止+Can't create/write to file 'C:\Windows\system32\config\SYSTEM~1\LOCALS~1\Temp\#sql