This article shares with you the graphic tutorial of MySQL 5.7.13 winx64 installation and configuration method for your reference. The specific content is as follows download Address: http://dev.mysql.com/downloads/file/?id=463242 Install 1. Unzip the downloaded mysql-5.7.13-winx64.zip to the directory you need to install (eg: D:\mysql); 2. Configure the my_default.ini in the decompressed directory and name it my.ini The relevant configurations are as follows: # These are commonly set, remove the # and set as required. basedir = D:\mysql5.7 (mysql installation directory) datadir = D:\mysql5.7\data (the directory where data is saved in mysql, set by yourself) port = 3306 (mysql's port number) # server_id = ..... 3. Add environment variables Add D:\mysql5.7\bin to the environment variables; eg:......;D:\mysql5.7\bin 4. Initialization Enter the MySQL bin folder 5. Start mysql net start mysql 6. Enter msyql and set a password D:\mysql5.7\bin>mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.13 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> set password=password('your own password'); Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> Connect to remote mysql (connect mysql between two win7 LAN) Error in connection: 1. Error description: When setting remote permissions for root: ERROR 1062 (23000): Duplicate entry '%-root' for key 'PRIMARY' (it is best not to use this, use the following method to authorize). 2. Authorization in MySQL: mysql> GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; mysql> flush privileges; 3. Turn off the firewall (at the same time, pay attention to the correctness of the IP address of win7 as the mysql carrier and the LAN IP) The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: WeChat applet selects the image control
>>: Detailed explanation of the "/" problem when proxy_pass forwards according to the path path
HTTP Header Explanation 1. Accept: Tells the web s...
Brief description Suitable for readers: Mobile de...
Hello everyone, today when I was looking at the H...
The <tbody> tag is used to define the style...
Table of contents Overview CommonJS Specification...
1. Python automatically runs at startup Suppose t...
dl:Definition list Definition List dt:Definition t...
Table of contents 1. The reason why the limit is ...
Because the Base images pulled by Docker, such as...
Table of contents rc.local method chkconfig metho...
Table of contents Preface How to solve Sudoku Fil...
HTML tags explained 1. HTML tags Tag: !DOCTYPE De...
What is volume? Volume means capacity in English,...
Table of contents Math Objects Common properties ...
Preface We may have heard of the concept of rowid...