当前位置:网站首页>5 minutes to learn how to install MySQL
5 minutes to learn how to install MySQL
2022-06-25 20:13:00 【Cheng Xiaoqi】
Preface : I saw a lot of mysql Installation tutorial for , Whether it's a video or an article , It's basically complicated , It takes half an hour to move , It's ok if you can learn to waste your time . It can't be abolished , I've been through it for many hours and a half . The main reason is the update of the version , Causing some of the tutorials to fail . So you must read the corresponding version before learning , If there is too much difference, it is better to forget .
Be careful : It uses windows10 operating system
Let's move on to today's theme :
1、 Get into mysql Official website https://dev.mysql.com/downloads/ Download installation package , Here's the picture . There's so much in here , At first, I was confused , I found that most of the tutorials were selected by me . But these two also change frequently . In order to be able to install and use normally , Select first
2、 Enter the figure below , Click download to get an installation package , Unzip it to a place you can remember , This path will be used later
3、 Environment configuration , The advantages are similar jdk. Path selected bin. Here's the picture
4、 everything , Only east wind . Here are the most exciting moments , Let's start mysql database .
Use win+x Get the picture below : Select the options in the red box
Let's go first bin Catalog
cd [ Just now bin Catalog 】
eg:cd D:\Mysql\mysql-8.0.26-winx64\bin>
Then the input mysqld -install, After entering, the... Will appear Service succussfully installed
Continue to input mysqld --initialize-insecure --user=mysql , There may be a Caton in this step , Wait a little longer , Don't turn it off ( Etc. 10 Minutes or no response, you can press enter or ctrl+c, This time is almost complete , That's who I am ), I turned it off for the first time , As a result, there was a problem with initialization , Failed to start the service in the next step
Then input net start mysql( Opening service )
Continue to input mysql -u root -p Enter the management interface , There will be password, Never mind , Next we'll set up
Continue to input ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘ Your password ’; ( final “;” Don't forget ,‘ Your password ’ Enter the password you want to set )
It's almost over , Last input exit Exit the management interface
The last step is to restart
Input net stop mysql close mysql service
Input net start mysql Turn on mysql service
It's all over here .
It's not easy to code words , If you feel useful, you can give the thumbs-up + Collection + Focus on once , If you have questions, you can also leave a message in the comment area
Reference article :Windows10 Under the MySQL8.0 Download and install of
边栏推荐
- Determine whether it is a web page opened on wechat
- Curtain down and departure
- Can the stock account opened through qiniu school be used? Is the fund safe?
- Avoid material "minefields"! Play super high conversion rate
- Native JS array some method de duplication
- Does redis transaction support acid?
- Wechat applet swiper simple local picture display appears large blank
- 通过启牛学堂开的股票账户可以用吗?资金安全吗?
- Skills of CCF question 2
- Number of wechat applet custom input boxes
猜你喜欢
H5 application conversion fast application
Applet password input box
SQL statement select summary
New features of php7
Web container basic configuration
Automatic fitting when the applet reaches the top
Arduino read temperature
PAT B1076
Redis high availability: do you call this the principle of master-slave architecture data synchronization?
String since I can perform performance tuning, I can call an expert directly
随机推荐
SQL statement select summary
200 OK (from memory cache) and 200 OK (from disk cache)
Jsonp function encapsulation
Appearance of object attributes
How to understand var = a = b = C = 9? How to pre parse?
JS advanced
通过启牛学堂开的股票账户可以用吗?资金安全吗?
Does redis transaction support acid?
Case: count the most characters and times
PAT B1056
8. iterators and generators
Applet Click to return to the top 2 methods
Uniapp waterfall flow, applet waterfall flow, very simple, suitable for the whole platform
C language PTA -- continuity factor
Redis core article: the secret that can only be broken quickly
Remember to deploy selenium crawler on the server
2021-08-25
2.17(Avoid The Lakes)
JS asynchronism (III. usage of generator and async/await)
206. reverse linked list (insert, iteration and recursion)