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:
|
Preface In WeChat applet, you can use globalData ...
Scenario Suppose there are 10 requests, but the m...
In Ubuntu, you often encounter the situation wher...
Table of contents Preliminary preparation Deploym...
In Linux, everything is a file, so the Android sy...
Table of contents introduction 1. Overall archite...
This article shares with you how to use Vue to dr...
1. Download, install and activate CLion Just foll...
I didn't intend to write this blog, but durin...
Mac latest version of MySQL 8.0.22 password recov...
Table of contents 1. Insert statement 1.1 Insert ...
Some time ago, I encountered the problem that the...
This article uses examples to describe MySQL'...
Table of contents 1. MySQL data backup 1.1, mysql...
Preface Vuex allows us to define "getters&qu...