A
A
Artyom2019-10-02 15:15:33
MySQL
Artyom, 2019-10-02 15:15:33

Why can't I start MySQL?

Sorry for the stupid question.
I did everything according to the instructions, but something is blocking the start of mysql.
Installed apache, php but mysql refuses to run through the SERVICE gives an error:
The MySQL service on Local Computer started and then stopped. Some services stop automatically if the are not in use bu other services or programs.
When I try to write through the console: C:\server\bin\mysql-8.0.17\bin\mysqld --initialize-insecure --user=root
I GET ERROR : 12234.jpg
FILE bat.ini

[mysqld]

    sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
    datadir="C:/Server/data/DB/data/" <-------------------можно одну строку
    default_authentication_plugin=mysql_native_password

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alternativshik, 2019-10-02
@foowee800

there even in the text of the error it is written what is wrong
C:/Server/data/DB/data/ No such file or directory

V
vreitech, 2019-10-02
@fzfx

Your error screen says that a certain directory is missing. first, check if this directory actually exists. if it doesn't exist, create it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question