数据库使用
1.啟動數據庫服務器
win + r?
services.msc
找到mysql 右鍵啟動
?
以管理員身份運行cmd
?
2.啟動:? ?net start mysql
?
3.關閉:net stop mysql
4.登錄: mysql -h ip -P 端口 -u 用戶名 -p
C:\Windows\system32>mysql -h localhost -P 3306 -u root -p
Enter password:
Welcome to the MySQL monitor. ?Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.31 MySQL Community Server (GPL)
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
?
總結
- 上一篇: nginx面试题及详解
- 下一篇: vbs 连oracle 负载均衡,(原)