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 1. Create a stored function 2. ...
1. What is master-slave replication? Master-slave...
If you open some Microsoft documents with LibreOf...
During the Olympic Games, IE 8 Beta 2 will be rele...
Open any web page: for example, http://www.baidu....
When the server needs to be started during develo...
Table of contents 1. Overview 2. Name field 3. Ve...
Table of contents linux 1. What is SWAP 2. What d...
[LeetCode] 178.Rank Scores Write a SQL query to r...
So-called talent (left brain and right brain) Tha...
What should I do if Linux does not support all co...
Problem: vue-cil3 runs with warnings potentially ...
Does performance really matter? Performance is im...
html, address,blockquote,body, dd, div,dl, dt, fie...
Introduction to influxDB influxDB is a distribute...