In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to install and connect mysql5.7.18, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
one。 Download and install MySQL Server
1. Open the URL: https://dev.mysql.com/downloads/mysql/, here we download the free version of the community
two。 Drop-down page, find the Donwload button, according to your machine operating system version, choose 32 or 64-bit version, the latest version is 5.7.18
3. After the download, the default installation, we choose to install MySQL Server, other components are not checked.
4. During the installation process, create a password for root. Here, I set the password to root, as shown in the following figure.
You need to click Add User, add a DAB account: test/123456, and enter a user name and password, as shown below
Click next, default to the end of the installation. After installing MySQL Server, every time you start your computer, you start database-related services. Now that we have installed the database server, we need to install a visual, graphical interface client to connect to the database. Here we use MySQL Workbench.
II. Download and installation of MySQL Workbench
1. Open the URL https://dev.mysql.com/downloads/workbench/
two。 Find "Windows (x86, 64-bit), MSI Installer"
3. Click the Download download button
4. On the new page, drop down, we do not need to log in to the account, click No thanks, just start my download.
5. Start downloading.
6. After the download is finished, start the installation with the following interface:
III. Connect to the database on MySQL Workbench
Open MySQL Workbench, and the interface is as follows
If the installation is normal, MySQL Workbench will show that the local database can be connected under MySql Connections, as shown in the following figure.
Click on the gray background area to enter the password for root. When we install MySQL Server above, set the password to root. After entering the password, click on the connection to successfully connect to the local database. If there is no gray, you click the + button next to it, enter the user name and password according to the contents of the panel, select the database of the local service, and you should be able to connect.
1. Create our own database db1
Click on the red box above, follow the prompts to create a new database, enter the name db1, code select utf-8, the created database, which can be seen under the left panel.
In the figure above, db1 is our newly created database, and sys is the default database after MySQL Server is installed. In the future, we all use MySQL Workbench to connect to our database, and then manually or SQL statements to create tables and other related data, the overall interface is as follows.
The above is all the contents of the article "how to install and connect mysql5.7.18". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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.