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: The installation process will not be des...
This article records the process of upgrading MyS...
Table of contents Hbase installation and configur...
Table of contents Preface 1. Install Docker 2. In...
CSS CodeCopy content to clipboard .bottomTable{ b...
Table of contents 1. forEach() 2. arr.filter() 3....
Table of contents Class void pointing ES6 Arrow F...
Table of contents 1. Initialize the array 2. Arra...
Preface Recently, I found a pitfall in upgrading ...
The company project was developed in Java and the...
MySQL deduplication methods 【Beginner】There are v...
After installing Jenkins, the initial download of...
Tomcat defines multiple ClassLoaders internally s...
Table of contents Case Study Update account balan...
origin Recently, I am working on requirement A, i...