Cannot connect to mysql [closed]

InnoDB: File name G:\Dropbox\mysql\data\ibdata1

Are you trying to store your MySQL data files on a file sharing service?

I would suggest that this is highly inadvisable given that both the DBMS and the file sharing service will want to make low-level changes to the binary data files, leaving you wide open to database corruption.

Store the data files as "close" as possible to the process that manipulates them, i.e. the database server process.