闇夜狂舞 發表於 2025-1-6 22:44

資料庫名稱

想請問一下各位前輩們


常常看到教學都說

輸入資料庫名稱380c,建議名稱語模擬器版本是相呼應,請點擊確定


名稱要一樣


可是看到他們的圖片


執行的SQL名稱卻又跟他們資料庫的不一樣


可是卻又不會跑出錯誤


是因為...為什麼啊??


還有在請問一下


如圖...如果有兩個不同版本要開的話

是不是可以在這個localhost這邊

直接在新增一個資料庫就可以了啊??

還是要直接新增一個連線??

如果要直接新增一個連線的話

主機的名稱是不是也不能亂打啊??


KeyCats 發表於 2025-1-6 22:57

You can enable Navicat to connect to Localhost (127.0.0.1)
And add a new database with different names

However, please be sure to modify the same corresponding name in the server-side folder Config/sql.properties (server.properties) to enable it.

闇夜狂舞 發表於 2025-1-6 23:07

KeyCats 發表於 2025-1-6 22:57
You can enable Navicat to connect to Localhost (127.0.0.1)
And add a new database with different nam ...

URL=jdbc:mysql://localhost/l1jtw?useUnicode=true&characterEncoding=utf8

只要我直接修改紅色部分的這裡
我就可以直接在主機那邊
新增一個資料庫
這樣我就可以在一個主機上
開啟兩個不同的版本了嗎?

KeyCats 發表於 2025-1-7 00:33

yep, but remember to change the names of the two versions to be different.

闇夜狂舞 發表於 2025-1-7 01:30

KeyCats 發表於 2025-1-7 00:33
yep, but remember to change the names of the two versions to be different.

好的謝謝你


剛剛測試

真的可以耶

真是太感謝你了

kenbibididi 發表於 2025-1-29 01:07

404. 發生錯誤。

在這個伺服器上找不到你要求的網址。 我們目前還無法提供更明確的錯誤訊息。

       
頁: [1]
查看完整版本: 資料庫名稱