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
<br />Previous article: Seven Principles of ...
Introduction When talking about distribution, we ...
Table of contents <template> <ul class=&...
privot is the intermediate table of many-to-many ...
Table of contents 1. v-for: traverse array conten...
Table of contents 1. Create components using func...
Table of contents 1. Implementation 2. Problems 3...
Table of contents Overview Canvas API: Drawing Gr...
In web front-end development, it is inevitable to ...
Add the following code to the CSS style of the el...
This article records the detailed process of down...
html: In fact, it is to arrange several solid cir...
Regarding the nginx panic problem, we first need ...
This article example shares the specific code of ...
Using fonts on the Web is both a fundamental skill...