当前位置:网站首页>MySQL 8.0 installation free configuration method
MySQL 8.0 installation free configuration method
2022-06-13 02:56:00 【Knowing and knowing】
mysql 8.0 Installation free configuration method
For different operating systems ,MySQL Corresponding versions are provided . stay Windows Under the operating system ,MySQL The database installation package is divided into graphical interface installation and installation free installation . The two packages are installed differently , The configuration is also different . The graphical interface installation package has a complete installation wizard , Easy to install and configure . The installation free installation package can be directly decompressed and used , But it is inconvenient to configure . The article mainly introduces in detail mysql 8.0.26 Installation free configuration method
1. download MySQL Compressed package
Official download address :https://dev.mysql.com/downloads/mysql/
2. Unzip to the location you want to install
3. establish my.ini Configure the file and move it to the directory to be installed
4. open my.ini File edit configuration information
Reference configuration :
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3306 port
port =3306
# Set installation directory
basedir=E:\MySQL\mysql-8.0.26-winx64
# Set the data storage directory
datadir=E:\MySQL\mysql-8.0.26-winx64\data
# Maximum connections allowed
max_connections=200
# When you create a new table, you will use the default storage engine
default-storage-engine=INNODB
Close after save my.ini file
5. Initialize the database and install 、 Login database
1). Enter the first bin Catalog , Open a command prompt as an administrator (cmd), Initialize database
mysqld --initialize --console
Pictured :
. mount this database
mysql --install
There will be more directories data Folder
3). Start database , And log in with the initial password
// start-up
net start mysql
Pictured :
4). Change the password to complete the installation
Use SQL Statement modification , For example, change the password to abcd
ALTER USER 'root'@'localhost' IDENTIFIED BY 'abcd';
Exit after modification :
exit;
And then log back in , Test for successful installation .
边栏推荐
- Introduction and download of common data sets for in-depth learning (with network disk link)
- For loop instead of while loop - for loop instead of while loop
- Introduction to Kestrel_ Introduction to kestrel web server
- Available types in C #_ Unavailable type_ C double question mark_ C question mark point_ C null is not equal to
- [data and Analysis Visualization] data operation in D3 tutorial 3-d3
- Image classification system based on support vector machine (Matlab GUI interface version)
- Implementing fillet in custom dialog
- Wechat applet coordinate location interface usage (II) map interface
- Advanced stair climbing
- Applet image component long press to identify supported codes
猜你喜欢
The extra money we made in those years
Special topic I of mathematical physics of the sprint strong foundation program
Vscode liveserver use_ Liveserver startup debugging
2019 - sorting out the latest and most comprehensive IOS test questions (including framework and algorithm questions)
Linked list: orderly circular linked list
Introduction to facial expression recognition system -- offline environment configuration
Useful websites for writing papers and studying at ordinary times
[data analysis and visualization] key points of data drawing 3- spaghetti map
Flutter reports an error type 'Int' is not a subtype of type 'string' wonderful experience
Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)
随机推荐
Opencv 17 face recognition
如何挑选基金产品?什么样的基金是好基金?
Ijkplayer source code - choose soft decoding or hard decoding
Prometheus node_exporter安装并注册为服务
二叉樹初始化代碼
Summary of innovative ideas of transformer model in CV
Ijkplayer source code ---setdatasource
小程序 input,textarea组件权重比fixed的z-index都高
Opencv 9 resize size change rotate rotate blur mean (blur)
Use of OpenCV 11 kmeans clustering
A wechat app for shopping
Image classification system based on support vector machine (Matlab GUI interface version)
[common tools] pyautogui tutorial
Pycharm and Anaconda ultra detailed installation and configuration tutorial
Applet image component long press to identify supported codes
[life science] DNA extraction of basic biological experiments
[data analysis and visualization] key points of data mapping 7- over mapping
[data analysis and visualization] key points of data drawing 6- too many data groups
Spark UDF instance details
Vant框架中关于IndexBar索引栏的CDN单页面引用,无法正常展示