In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces deepin v20 how to install mysql, the article is very detailed, has a certain reference value, interested friends must read it!
Deepin v20 can not install mysql directly, so change the source to Ali source first, so that the speed can be faster in the future. Today we will introduce the method of installing mysql in deepin v20. If you need it, you can refer to it.
Deepin v20 source change and installation of mysql
Since deepin V20 cannot install mysql directly, the source can be changed to Ali source first, so the speed can be faster in the future.
Modify the file sudo vim / etc/apt/sources.list
# delete the content and add the following: # # Generated by deepin-installerdeb [by-hash=force] https://mirrors.aliyun.com/deepin/ panda main contrib non-free
Execute sudo apt-get update
Execute the sudo apt-get upgrade command.
Install mysql
1. Execute the statement to install mysql
Sudo apt-get install mysql-server mysql-client
two。 Check the login account and check the password
3. Get the password of the login MySQL account
Lin@lin-PC:~$ mysql-udebian-sys-maint-pjSaNFiRzjlDAxiRNmysql: [Warning] Using a password on the command line interface can be insecure.Welcome to the MySQL monitor. Commands end with; or\ g.Your MySQL connection id is 2Server version: 5.7.21-1 (Debian) Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or'\ h' for help. Type'\ c'to clear the current input statement.mysql >
4. Then enter the mysql database in turn, change the root password, and refresh the cache. Then you can log out of exit and log in with your root account:
Use mysql;update user set plugin= "mysql_native_password", authentication_string=password ('new password') where user= "root"; FLUSH PRIVILEGES
5. Log in using the modified account password
Mysql-uroot-p000000 and above are all the contents of the article "how to install mysql in deepin V20". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.