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
This article example shares the specific code for...
Local Windows remote desktop connects to Alibaba ...
To master: localStorage, component encapsulation ...
Why can it set the height, but unlike elements lik...
1. Install shadowsocks sudo apt-get install pytho...
Below are some common parameters of /etc/my.cnf o...
What is high concurrency? The default Linux kerne...
What is Let’s first look at the concept of Docker...
Preface Interceptor In some modern front-end fram...
When connecting to the local database, navicat fo...
<br />Original text: http://andymao.com/andy...
Table of contents 1. Why is JavaScript single-thr...
Table of contents Class void pointing ES6 Arrow F...
sudo configuration file The default configuration...
This article shares the detailed steps of install...