MySQL Forums
Forum List  »  MySQL Workbench

Re: Connecting to MySQL
Posted by: Patrick Sison
Date: September 12, 2016 12:02PM

When I try what they suggest, I get this error.....please help

C:\Program Files\MySQL\MySQL Server 5.7>cd "C:\Program Files\MySQL\MySQL Server 5.7\bin"

C:\Program Files\MySQL\MySQL Server 5.7\bin>mysqld --init-file=C:\\Users\\Owner\\Desktop\\mysql-init.txt
mysqld: Can't change dir to 'C:\Program Files\MySQL\MySQL Server 5.7\data\' (Errcode: 2 - No such file or directory)
2016-09-12T17:57:32.455772Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-09-12T17:57:32.455772Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2016-09-12T17:57:32.455772Z 0 [Note] mysqld (mysqld 5.7.15) starting as process 10672 ...
2016-09-12T17:57:32.455772Z 0 [Warning] Can't create test file C:\Program Files\MySQL\MySQL Server 5.7\data\DESKTOP-QVF985U.lower-test
2016-09-12T17:57:32.455772Z 0 [Warning] Can't create test file C:\Program Files\MySQL\MySQL Server 5.7\data\DESKTOP-QVF985U.lower-test
2016-09-12T17:57:32.455772Z 0 [ERROR] failed to set datadir to C:\Program Files\MySQL\MySQL Server 5.7\data\
2016-09-12T17:57:32.455772Z 0 [ERROR] Aborting

2016-09-12T17:57:32.455772Z 0 [Note] Binlog end
2016-09-12T17:57:32.455772Z 0 [Note] mysqld: Shutdown complete


C:\Program Files\MySQL\MySQL Server 5.7\bin>

Options: ReplyQuote


Subject
Views
Written By
Posted
1097
September 12, 2016 10:39AM
Re: Connecting to MySQL
1065
September 12, 2016 12:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.