当前位置:网站首页>Use of MySQL command line client and common commands
Use of MySQL command line client and common commands
2022-04-23 02:57:00 【Senior agent of Sarkozy】
Mysql Command Line Client It's an official client . I've been using it directly before Windows In the command prompt window, enter Mysql sentence , There seems to be no difference . But I reinstalled one and tried it .
install
MYSQL The folder comes with Installer, Select the corresponding computer version Mysql Server Download it .
To configure
Due to the installation directory and Mysql atypism , Missing configuration file my.ini Lead to Mysql Command Line Client Can't use at first . Put... Directly Mysql Inside my.ini Copied to the Mysql Server It's just in the directory .
Common commands
Actually in cmd Log in... In the window mysql The corresponding command prompt will also be given , But I didn't study it carefully at that time . Just borrow Mysql Command Line Client Take a chance to learn about common commands .
There are two different... In the start menu Mysql Command Line Client window , One of them supports Unicode , One does not support . After opening, you will be prompted to enter the login password , Log in and cmd The operations in the window are basically the same .
command | effect |
---|---|
\h, ?, ? | get help |
\c | Clear the previous input ( Use when the content is input incorrectly ) |
\R | modify The prompt style on the left before each command input ( Default :‘mysql>’) |
? Commands that need help ; | Displays help for this command ( Such as :? show) |
show databases; | View all databases |
use ‘ Database name ’; | Select a database |
( After selecting a database )show tables; | View all tables in the current database |
exit / quit | sign out |
版权声明
本文为[Senior agent of Sarkozy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220647385118.html
边栏推荐
- 接口请求时间太长,jstack观察锁持有情况
- Chapter V project quality management of information system project manager summary
- tf. keras. layers. Timedistributed function
- The input of El input input box is invalid, and error in data(): "referenceerror: El is not defined“
- Store consumption SMS notification template
- Reverse a linked list < difficulty coefficient >
- How can enterprises with major hazard installations ensure the completion of the digital construction task of double prevention mechanism by the end of the year
- Modification du contenu de la recherche dans la boîte déroulante par PHP + MySQL
- Plug in for vscode
- Restart redis
猜你喜欢
tf. keras. layers. Timedistributed function
tf. keras. layers. Conv? D function
国产轻量级看板式Scrum敏捷项目管理工具
Flink learning (XI) watermark
LeetCode 1450 - 1453
Huawei machine test question -- deformation of hj53 Yang Hui triangle
Android 高阶面试必问:全局业务和项目的架构设计与重构
Leangoo brain map - shared multi person collaborative mind mapping tool
Sonic cloud real machine tutorial
BLDC double closed loop (speed PI + current PI) Simulink simulation model
随机推荐
Redis data server / database / cache (2022)
MySQL复杂查询使用临时表/with as(类似表变量)
Publish to NPM?
tf. keras. layers. Timedistributed function
Redis Cluster集群,主节点故障,主从切换后ip变化,客户端需要处理不
Learn regular expression options, assertions
Introduction to ACM [inclusion exclusion theorem]
Niuke white moon race 5 [problem solving mathematics field]
Traversée de l'arbre L2 - 006
Configuring Apache Web services for servers such as Tianyi cloud
Classification of technology selection (2022)
工业互联网+危化安全生产综合管理平台怎样建
JS using the parameters of art template
L2-006 树的遍历(中后序确定二叉树&层序遍历)
JS learning notes
Chapter V project quality management of information system project manager summary
《信息系统项目管理师总结》第四章 项目成本管理
Leangoo brain map - shared multi person collaborative mind mapping tool
Introduction to ACM [TSP problem]
Résumé du gestionnaire de projet du système d'information Chapitre VI gestion des ressources humaines du projet