当前位置:网站首页>Database installation --mysql
Database installation --mysql
2022-06-09 13:03:00 【Right ear needs oil】
Catalog
1. Visit the official website :
1. problem : To start the server, enter in the administrator window mysqld Where it is
One , download
1. Visit the official website :
my SQL (mysql.com)
2. Follow the steps below




After downloading, unzip it to the specified directory
Two , To configure
Enter the small black box in administrator mode , use mysqld Connect to the server

Don't close the upper window , Open a command window when the client connects to the server
mysql -h 127.0.0.1 -P 3306 -uroot -p # Connect server
You can also simplify the command to mysql -uroot -p

The following is the optimization of the above operation
1. problem : To start the server, enter in the administrator window mysqld Where it is
Optimize 1: take mysql Write the location into the system environment variable , In the future, enter directly in the administrator window mysqld that will do

Optimize 2: The system starts up automatically , There is no need to open a small black box for the commander alone .
mysqld --install # install
![]()
After installation, you can see in the service , Then start

mysqld --remove # Cancel
![]()
After cancellation, it will not be found in the process mysql
How to enter the service ?
The first method :

The second method :

边栏推荐
猜你喜欢
随机推荐
笔记-圆方树
Redis命令的flags的选项:
wsl2环境搭建
工程師應該了解的模態分析基礎知識
fastapi基于pytest的异步测试(tortoise-orm)
Ten recommended shuttle plug-ins
Connaissance de base de l'analyse modale que l'Ingénieur devrait connaître
C语言 队列--顺序队列
C语言线性表--静态链表
周博磊《模型可解释性年度进展概述》20200805
数据库的安装--mysql
数据库day-6
[memcached and redis]
Taoist friend, what is the relationship between your use of redis in the project and the three Virgin Mary?
c语言--单循环链表
AVR与ARM区别以及常用Arduino
Handlebars template engine usage 2
A very useful flutter technique that you can use immediately!
[001] 一天一句长难句分析
市面常用芯片对应的ARM架构





![[STM32] Hal library CRC verification](/img/6f/51e60fe96c61dd04cae37b4f96954d.png)


