当前位置:网站首页>How to install MySQL
How to install MySQL
2022-07-05 16:38:00 【qq_ four hundred and sixty-nine million six hundred and three t】
Download address of installation files and documents :
link :https://pan.baidu.com/s/1lvHyFPsvMnYruJjSwWj-Ug
Extraction code :8pya
The installation process is divided into two parts :
1) File decompression and copying process , Default installation directory :
2) After installation, you must correct MySQL The server is configured in mysql Administrator's name in :root
3.1 Database installation
Open the download mysql Double click the installation file to extract it , function “mysql-5.5.40-win32.msi”.
2. Choose the installation type , Yes “Typical( Default )”、“Complete( Completely )”、“Custom( User customization )” Three options , choice “Custom,” Press “next” Key continuation
3. Point selection “Browse”, Manually specify the installation directory .
4. Fill in the installation directory , My is “d:\Program Files (x86)\MySQL\MySQL Server 5.0”, Press “OK” continue
5. Confirm the previous settings , If there is any mistake , Press “Back” Go back to redo . Press “Install” Start installation .
6. Installing , Please wait a moment , Until the following screen appears , Then finish MYSQL Installation
After the database is installed, you need to configure the database before you can use it
7. The installation is complete , The following screen will appear to enter mysql Configuration wizard
8. Choose configuration mode ,“Detailed Configuration( Manual precise configuration )”、“Standard Configuration( Standard configuration )”, We choose “Detailed Configuration”, It is convenient to be familiar with the configuration process .
9. Select the server type ,“Developer Machine( Develop test class ,mysql Take up little resources )”、“Server Machine( Server type ,mysql Occupy more resources )”、“Dedicated MySQL Server Machine( Dedicated database server ,mysql Occupy all available resources )
10. choice mysql The general purpose of the database ,“Multifunctional Database( Versatile , good )”、“Transactional Database Only( Server type , Focus on transactions , commonly )”、“Non-Transactional Database Only( Non transactional , Simpler , Mainly do some monitoring 、 For counting , Yes MyISAM Data type support is limited to non-transactional), Press “Next” continue
11. Select the number of concurrent connections on the site , Number of simultaneous connections “D,ecision Support(DSS)/OLAP(20 about )“”O、nline Transaction Processing(OLTP)(500 about )”、“Manual Setting( Manual settings , Lose a number by yourself )
12. Is it enabled? TCP/IP Connect , Set port , If not enabled , You can only access it on your own machine mysql Database , On this page , You can also choose “ Enable standard mode ”(Enable Strict Mode), such MySQL It won't allow minor grammatical errors . If it's new , It is recommended that you cancel the standard mode to reduce the trouble . But familiar with MySQL in the future , Try to use standard mode , Because it can reduce the possibility of harmful data entering the database . Press “Next” continue
13. That's right mysql The default database language code is set ( important ), Generally choose UTF-8, Press “Next” continue
14. Choose whether or not to mysql Installed as windows service , You can also specify Service Name( Service ID name ), Whether or not to mysql Of bin Add directory to Windows PATH( After joining , You can use it directly bin The files under the , Instead of pointing out the directory name , For example, connection. , “mysqle.xe -uusername -ppassword;” That's all right. , Don't point out mysql.exe The full address of , Very convenient ), I've ticked everything here ,Service Name unchanged . Press “Next” continue
15. Ask if you want to change the default root user ( Super management ) Password .“Enable root access from remote machines( Whether to allow root Users log on to other machines , If you want to be safe , Don't hook up , If you want convenience , Just hook it up )”. Last “Create An Anonymous Account( Create an anonymous user , Anonymous users can connect to the database , Can't manipulate data , Including inquiries )”. Generally, there is no need to tick , Setup complete , Press “Next” continue
16. Make sure the settings are correct , Press “Execute” Make settings effective , That is to finish MYSQL Installation and configuration
Be careful : Setup complete , Press “Finish” There is a more common mistake , Just can't “Start service”, Generally appeared in the previous installation mysql On , The solution , First, make sure that the previous installation mysql The server was completely uninstalled ; No words , Check if you follow the steps above , Whether the previous password has been changed , Follow the instructions above ; If it still doesn't work , take mysql Install under directory data Folder backup , Then delete , After installation , Will install the generated data Folder deletion , Backup data Move the folder back , Restart again mysql Just the service , In this case , Maybe you need to check the database , Then fix it once , Prevent data errors
边栏推荐
- Practice independent and controllable 3.0 and truly create the open source business of the Chinese people
- How to use FRP intranet penetration +teamviewer to quickly connect to the intranet host at home when mobile office
- Subclasses and superclasses of abstract classes
- The new version of effect editor is online! 3D rendering, labeling, and animation, this time an editor is enough
- How does win11 change icons for applications? Win11 method of changing icons for applications
- 二叉树相关OJ题
- 企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
- Pits encountered in the use of boolean type in development
- [echart] resize lodash 实现窗口缩放时图表自适应
- scratch五彩糖葫芦 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
猜你喜欢
2020-2022 two-year anniversary of creation
【深度学习】深度学习如何影响运筹学?
解决CMakeList find_package找不到Qt5,找不到ECM
为季前卡牌游戏 MotoGP Ignition Champions 做好准备!
Mistakes made when writing unit tests
Desci: is decentralized science the new trend of Web3.0?
新春限定丨“牛年忘烦”礼包等你来领~
OneForAll安装使用
【刷题篇】鹅厂文化衫问题
详解SQL中Groupings Sets 语句的功能和底层实现逻辑
随机推荐
JSON转MAP前后数据校验 -- 自定义UDF
Apple 已弃用 NavigationView,使用 NavigationStack 和 NavigationSplitView 实现 SwiftUI 导航
Oneforall installation and use
漫画:什么是服务熔断?
Google Earth Engine(GEE)——Kernel核函数简单介绍以及灰度共生矩阵
Single merchant v4.4 has the same original intention and strength!
Win11如何给应用换图标?Win11给应用换图标的方法
Cartoon: what is distributed transaction?
【刷题篇】鹅厂文化衫问题
如何将mysql卸载干净
漫画:什么是MapReduce?
數據訪問 - EntityFramework集成
Spring Festival Limited "forget trouble in the year of the ox" gift bag waiting for you to pick it up~
List uses stream flow to add according to the number of certain attributes of the element
Cheer yourself up
Exception com alibaba. fastjson. JSONException: not match : - =
服务器的数据库连不上了2003,10060“Unknown error“【服务已起、防火墙已关、端口已开、netlent 端口不通】
ES6 deep - ES6 class class
【毕业季】作为一名大二计科在校生,我有话想说
Quelques réflexions cognitives