Since I have changed to a new computer, all the environments need to be configured on the new computer. Suddenly I realized that I had forgotten the configuration of MySQL, so I searched it again on Baidu. 1. Download the installation package The configuration information is as follows: [mysql] # Set the default character set of the mysql client to default-character-set=utf8 [mysqld] #Set port 3306 port = 3306 # Set the installation directory of mysql to basedir=F:\bianyi\mysql-5.6.24-win32 # Set the storage directory of mysql database data datadir=F:\bianyi\mysql-5.6.24-win32\data # Maximum number of connections allowed max_connections=200 # The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB 3. Installation service After opening the cmd window as an administrator, switch the directory to the bin directory where you unzipped the file, and then enter vity/SouthEast) 4. Start service login verification Continue to enter: net start mysql, after the service starts, enter: mysql -uroot -p 5. Change your password Continue to enter: set password for root@localhost = password('12456'); In this process, the installation service failed because it was not run as an administrator: The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: React Hooks Common Use Scenarios (Summary)
>>: Logrotate implements Catalina.out log rotation every two hours
——Notes from "MySQL in Simple Terms (Second ...
Table of contents 1. Introduction to pid-file 2.S...
Sometimes, while working with files in the Linux ...
Table of contents 1. Introduction 2. MVCC (Multi-...
1. Cancel the blue color of the a tag when it is ...
Table of contents 1. Pull the image 2. Run the im...
Summary: Configure nginx reverse proxy jira and i...
mysql create table sql statement Common SQL state...
FIFO communication (first in first out) FIFO name...
What is the input type="file"? I don'...
Purpose Encapsulate the carousel component and us...
1. Install the dependency packages first to avoid...
Preface I accidentally discovered that the half-h...
Table of contents Demand Background Why use Nginx...
1. Color matching problem <br />A web page s...