I am installing Apache, php and MySQL server on Windows10. The first two were successful, but MySQL has problems.
I installed MySQL in C:\mysql-5.7.10-winx64and changed my.inias follows
basedir = C:/mysql-5.7.10-winx64
datadir = C:/mysql-5.7.10-winx64/data
port = 3306
I managed to install, but if I try to start, it will be shown below
C:\Windows\system32>net start mysql
The MySQL service is starting.
The MySQL service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
However, if I check for events on a page Management>Event Viewer>Custom Views>Summaryon the computer, this tells me: "could not set datadir to C:\mysql-5.7.10-winx64\data\"

If I create the data folder manually, the error message changed to
Unable to open table mysql.plugin
Run mysql_upgradeto create it .. "and some files are created in the data folder

I tried updating by typing mysql_upgrade, but that failed.
mysql_upgrade: : 2003: MySQL "localhost" (10061) MySQL. .
?