2.1、msi installation package 2.1.1、Installation It is particularly important to note that before installation, the original my.ini and the original data directory must be deleted, or the name can be changed. Otherwise, the "apply security settings" will report a 1045 error in the last step. Reason 1: firewall, reason 2: data files have not been cleared. Next all the way, choose custom installation You can specify the location of the data, not the system disk By the way, select "detailed configuration" Server type and purpose depends on whether it is a development or production environment "bestsupport for multilingualism" supports most languages, the default character set is UTF-8, use this "createanonymous account" is not needed If there are no accidents, it will be done successfully. Solution to root login failure after installation mysql -h localhost -u root -p #Note, netstart mysql --skip-grant-tables can be started, but it seems to have no effect The window may be dead, no matter what, open another window cmd Found that I went straight in. use mysql update user set password=password("new password") where user='root' and host='localhost'; flush OK, a few points to note: 1. net start mysql --skip-grant-tables, can start, but it seems to have no effect 2.1.2 Uninstall 1. You can uninstall it in the control panel 2.2. zip file (unverified) 1. Download MySQL basedir="c:/mysql" installation directory datadir="c:/mysql/data" data directory [WindowsMySQLServer] 5. Installation service c:/mysql/bin/mysqld.exe --install 6. Start/Stop Service net start/stop mysql 2.2.2 Uninstall c:/mysql/bin/mysqld.exe --remove 2.3、Common command parameters and usage; == \g Adding \G after the command will make the display more beautiful 2.3.1、mysql -hhost databasename database name, equivalent to executing use database -e "sql" execute statement mysql -h localhost -u root -ppassword mysql -e "select user,host from user" 2.3.2、mysqladmin a) Change password mysqladmin -u root -p password "new password" Notice: 1. Password is equivalent to a function and is required |
<<: Three.js sample code for implementing dewdrop animation effect
>>: How to test the maximum number of TCP connections in Linux
Table of contents background: need: Effect 1. Ide...
This article shares the specific code of Vue impo...
Table of contents 1. Introduction 2. Entry mode o...
This article shares the specific code of JavaScri...
Swarm Cluster Management Introduction Docker Swar...
ScreenCloud is a great little app you didn’t even...
If I want to make the form non-input-capable, I se...
There are two main reasons why it is difficult to...
Table of contents 1. Index Type 1. B+ Tree 2. Wha...
Keyboard Characters English ` backquote ~ tilde !...
Preface The keywords of MySQL and Oracle are not ...
Preface The concept of dark mode originated from ...
The command line mysqld –skip-grant-tables cannot...
Table of contents Defining the HTML structure Inp...
1 Implementation Principle This is done using the...