mysql 5.6.35 winx64 free installation version configuration tutorial under win10, the specific contents are as follows 1. Unzip the MySQL compressed package Unzip the downloaded MySQL compressed package to a custom directory. I put it in C:\software\mysql-5.6.35-winx64\mysql_master Add environment variables Configure the MySQL path to the path path 2. Edit the unzipped file my-default.ini [client] port=3306 default-character-set=utf8 [mysqld] #Set MySQL directory basedir=C:/software/mysql-5.6.35-winx64/mysql_master #Set MySQL data datadir=C:/software/mysql-5.6.35-winx64/mysql_master/data port=3306 character_set_server=utf8 default-storage-engine=MYISAM sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES Register Windows system service Register MySQL as a Windows system service The operation is as follows: 1) Right-click the start menu and select "Command Prompt (Administrator)" (must be under administrator privileges) 2) Enter the service installation command: mysqld install MySQL --defaults-file="C:\software\mysql-5.6.35-winx64\mysql_master\my-default.ini" After the installation is successful, a message will pop up saying that the service has been successfully installed. If it appears The service already exists! 5. Start MySQL service Method 1: The command to start the service is: net start mysql Method 2: Open the management tool service and find the MySQL service. Start the service by right-clicking and selecting Start or directly clicking Start on the left. "C:\software\mysql-5.6.35-winx64\mysql_master\bin\mysqld" --defaults-file="C:\software\mysql-5.6.35-winx64\mysql_master\my-default.ini" MySQL3306 6. Change the root account password When the installation is just completed, the default password of the root account is empty. At this time, you can change the password to the specified password. For example: 123456 Method 1: c:>mysql –uroot mysql>show databases; mysql>use mysql; mysql>UPDATE user SET password=PASSWORD(“123456”) WHERE user='root'; mysql> FLUSH PRIVILEGES; mysql>QUIT Method 2: Use third-party management tools to change passwords. Such as Navicat for MySQL 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:
|
<<: VSCode configuration Git method steps
>>: Detailed explanation of Vue's caching method example
After clicking the a tag in the page, you want to ...
To beautify the table, you can set different bord...
This article example shares the specific code of ...
uniapp code <template> <view> <ima...
Edit /etc/docker/daemon.json and add the followin...
Preface This article mainly shares with you the g...
1. CSS style solves the problem of displaying ell...
Table of contents Conditional compilation Page La...
When the database concurrently adds, deletes, and...
This article uses examples to describe the common...
I logged into the backend to check the solution t...
Table of contents 1. Literals 1.1 Numeric literal...
1. How to create a user and password 1. Enter the...
Preface If you want to count the source of websit...
Table of contents Some basic configuration About ...