日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

数据库使用

發布時間:2023/12/10 55 豆豆
生活随笔 收集整理的這篇文章主要介紹了 数据库使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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>

?

總結

以上是生活随笔為你收集整理的数据库使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。