0
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.

I tried to find solution but unable to find. I have net beans 8.2 and MySQL 8.0 installed. I have also attached jconnector to the projector but still unable to connect to the database. Please help.............above error is what i get.

  • Most likely this: https://stackoverflow.com/a/45807370/139985 – Stephen C Aug 25 '18 at 04:59
  • well it gives the same error...............:( – Hiten Maheswari Aug 25 '18 at 05:36
  • Yes, it does. That's why I think it is the same problem :-) Did you try the solution? – Stephen C Aug 25 '18 at 05:54
  • Thank you I just added the driver and it started working. – Hiten Maheswari Feb 10 '19 at 07:40
  • I think that is a different problem you solved. The problem that you described in this Question is NOT caused by a missing MySQL "driver". It is caused by some kind of misconfiguration of the MySQL **service** of your NetBeans / MySQL integration. Unfortunately, the information you provided (last year) was not sufficient to identify the exact cause. – Stephen C Feb 10 '19 at 07:54

0 Answers0