无法从netbeans连接到mysql

r3i60tvu  于 2021-06-20  发布在  Mysql
关注(0)|答案(0)|浏览(289)
mysqld: Can't change dir to 'C:\Program Files\MySQL\MySQL Server 8.0\data\' (OS errno 2 - No such file or directory)
2018-08-25T04:25:31.050719Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.12) starting as process 4460
2018-08-25T04:25:31.281794Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\DESKTOP-P26B040.lower-test
2018-08-25T04:25:31.296762Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\DESKTOP-P26B040.lower-test
2018-08-25T04:25:31.333461Z 0 [ERROR] [MY-010172] [Server] failed to set datadir to C:\Program Files\MySQL\MySQL Server 8.0\data\
2018-08-25T04:25:31.388669Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-08-25T04:25:31.482444Z 0 [System] [MY-010910] [Server] C:\Program 
Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.12)  MySQL Community Server - GPL.

我试图找到解决办法,但找不到。我已经安装了netbeans8.2和mysql 8.0。我还将jconnector连接到投影仪,但仍然无法连接到数据库。请帮助……………以上错误是我得到的。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题