本文目錄一覽:
MYSQL不安裝客戶端可以使用嗎?
不行的,因為mysql是屬於C/S 架構的,增刪改查都是在客戶端操作的。
在本地不安裝mysql資料庫能連接嗎?
本地不安裝mysql 伺服器是可以的,但是至少要安裝客戶端, 也要安裝一個 ODBC 的驅動。
下面這種情況, 是 連接本機的 MySQL
前提是 本機安裝了 MySQL , 並開啟了 MySQL 的服務。
E:\MySQL\MySQL Server 5.1\binmysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.50-community MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql
下面這種情況, 是 本機只有客戶端, 沒有運行服務程序。
連接的是 另外一台機器上面的 MYSQL 資料庫, 本機是沒有資料庫的。
F:\mysql-4.1.10a-win32\binmysql -u test_user -h 192.168.56.101 -p
Enter password: ************
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 5.0.96-community-nt
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql
mysql如何不安裝服務端只安裝客戶端
都可以,很多開發者都是只裝客戶端,不裝伺服器的
只裝伺服器,不裝客戶端一般沒必要,客戶端非常小,實在不想要可以去掉(刪除)
一般按默認設置即可,沒什麼特別的了
請採納答案,支持我一下。
客戶端在沒有安裝Mysql的情況下訪問伺服器上的Mysql
可以安裝一個MySQL-Front
打開後,新建連接,輸入伺服器上的mysql的公網ip,賬號以及密碼,即可遠程訪問mysql
原創文章,作者:小藍,如若轉載,請註明出處:https://www.506064.com/zh-tw/n/276179.html