Problem description (environment: windows7, MySql8.0) After installing MySql today, I started the MySql service. If the service startup fails, don't read on and solve it yourself by searching on Baidu. The pitfalls I encountered (not saying that what others said is wrong, it’s just that it’s useless to me) Pitfall 1: People on the Internet say that there is a problem with the my.ini file, but there is no my.ini file in my installation path solve I believe many people have seen this picture when searching on the Internet. I installed it by default: "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe" "--defaults-file=C:\Program Files\MySQL\MySQL Server 8.0\my.ini" "-uroot" "-p" At this time, I am not thinking about how to change it, but whether I should find Finally I found Data and my.ini in MySQL\MySQL Server 8.0\ under C:\ProgramData --> C:\ProgramData which is a hidden folder at last Change the path in the figure to C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" "-uroot" "-p" Just open the client Summarize The above is the editor’s introduction to solving the problem of MySql client exiting immediately (my.ini cannot be found). I hope it will be helpful to everyone! You may also be interested in:
|
In some interview experiences, you can often see ...
We all know that the underlying data structure of...
This article shares the tutorial of MySql install...
1. How to display the date on the right in the art...
"The great river flows eastward, the waves w...
As we all know, without the cd command, we cannot...
Use profile to analyze slow SQL The main purpose ...
In the case of concurrent access, non-repeatable ...
Recently I changed Apache to nginx. When I moved ...
What is ORM? ORM stands for Object Relational Map...
Preface In project development, there are many wa...
This article example shares the specific code of ...
This article records the VMware Workstation 12 Pr...
This article shares the specific code of jQuery t...
This article shares the specific code for JavaScr...