达梦(1)数据库安装
最近在看达梦数据库。功能看起来应当不错,就是资料少得可怜,附的文档估计是更新不即时,很多都没说清楚或没说。 在这记录下数据库的安装,非常简单。 一。安装在指定用户下。 1. DM数据库系统用户 groupadd dinstalluseradd -g dinstall -m -d /home/dmdba
最近在看达梦数据库。功能看起来应当不错,就是资料少得可怜,附的文档估计是更新不即时,很多都没说清楚或没说。
在这记录下数据库的安装,非常简单。
一。安装在指定用户下。
1. DM数据库系统用户
groupadd dinstall useradd -g dinstall -m -d /home/dmdba -s /bin/bash dmdba passwd dmdba mkdir -p /opt/dmdbms chmod -R 755 /opt/dmdbms
3. DM数据库随机启动服务
/* bin目录下的DmServiceDMSERVER文件拷贝到/etc/rc.d/init.d 目录下如果手工执行: 设默认安装路径: /opt/dmdbms 服务名: DMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc0.d/K02DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc3.d/S98DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc5.d/S98DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc6.d/K02DmServiceDMSERVER chkconfig --add DmServiceDMSERVER
但在新的 DM 7 下没找到这些。。。 */
[dmdba@xclos dm7_20131111_neoky5_64]$ ./DMInstall.bin -i rm: cannot remove `/tmp/DMInstall/source': Permission denied rm: cannot remove `/tmp/DMInstall/install': Permission denied Extract install files......... chmod: changing permissions of `/tmp/DMInstall/': Operation not permitted chmod: changing permissions of `/tmp/DMInstall/source': Operation not permitted chmod: cannot read directory `/tmp/DMInstall/source': Permission denied chmod: changing permissions of `/tmp/DMInstall/install': Operation not permitted /tmp/DMInstall/install/install.sh: line 35: /tmp/DMInstall/source/script/ckdmstat.sh: Permission denied Welcome to DM Install Program Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:^C -- 在 root 用户下删除掉 /tmp/DMInstall 后再执行安装 [dmdba@xclos dm7_20131111_neoky5_64]$ ./DMInstall.bin -i Extract install files......... Welcome to DM Install Program Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:n Whether to Set The TimeZone? (Y/y:Yes N/n:No) [Y/y]:n Installation Type: 1 Typical 2 Server 3 Client 4 Custom Please Input the number of the Installation Type [1 Typical]:1 Require Space: 380M Please Input the install path [/home/dmdba/dmdbms]: Available Space: 99G Please Confirm the install path? (Y/y:Yes N/n:No) [Y/y]: Pre-Installation Summary Installation Location: /home/dmdba/dmdbms Require Space: 380M Available Space: 99G Version Information: Expire Data: Installation Type: Typical Confirm to Install? (Y/y:Yes N/n:No) [Y/y]: 2014-01-06 17:38:27 [INFO] Installing default Module... 2014-01-06 17:38:27 [INFO] Installing DM DBMS... 2014-01-06 17:39:01 [INFO] Installing server Module... 2014-01-06 17:40:06 [INFO] Installing client Module... 2014-01-06 17:40:11 [INFO] Installing drivers Module... 2014-01-06 17:40:11 [INFO] Installing manual Module... 2014-01-06 17:40:11 [INFO] Installing service Module... 2014-01-06 17:40:15 [ERROR] /etc/dm_svc.conf (Permission denied) 2014-01-06 17:40:15 [INFO] Move ant log file to log directory. 2014-01-06 17:40:16 [INFO] Installed DM DBMS completely. End [dmdba@xclos dm7_20131111_neoky5_64]$
二。 root用户下的安装 直接执行就行了。
[root@xcl12c soft]# tar -xzvf dm7_20131111_neoky5_64.tar.gz dm7_20131111_neoky5_64/DMInstall.bin dm7_20131111_neoky5_64/DM_Install_en.pdf dm7_20131111_neoky5_64/DM_Install_zh.pdf dm7_20131111_neoky5_64/dm.key [root@xcl12c soft]# ./dm7_20131111_neoky5_64/DMInstall.bin -i Extract install files......... Welcome to DM Install Program Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:N Whether to Set The TimeZone? (Y/y:Yes N/n:No) [Y/y]:n Installation Type: 1 Typical 2 Server 3 Client 4 Custom Please Input the number of the Installation Type [1 Typical]:1 Require Space: 380M Please Input the install path [/opt/dmdbms]: Available Space: 10G Please Confirm the install path? (Y/y:Yes N/n:No) [Y/y]: Pre-Installation Summary Installation Location: /opt/dmdbms Require Space: 380M Available Space: 10G Version Information: Expire Data: Installation Type: Typical Confirm to Install? (Y/y:Yes N/n:No) [Y/y]: 2014-01-06 09:35:52 [INFO] Installing DM DBMS... 2014-01-06 09:35:52 [INFO] Installing default Module... 2014-01-06 09:35:54 [INFO] Installing server Module... 2014-01-06 09:35:57 [INFO] Installing client Module... 2014-01-06 09:35:58 [INFO] Installing drivers Module... 2014-01-06 09:35:58 [INFO] Installing manual Module... 2014-01-06 09:35:59 [INFO] Installing service Module... 2014-01-06 09:36:20 [INFO] Move ant log file to log directory. 2014-01-06 09:36:21 [INFO] Create system user "dmdba" successfully. 2014-01-06 09:36:21 [INFO] Installed DM DBMS completely. End MAIL: xcl_168@aliyun.com BLOG: http://blog.csdn.net/xcl168

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

蘋果公司最新發布的iOS18、iPadOS18以及macOSSequoia系統為Photos應用程式增添了一項重要功能,旨在幫助用戶輕鬆恢復因各種原因遺失或損壞的照片和影片。這項新功能在Photos應用的"工具"部分引入了一個名為"已恢復"的相冊,當用戶設備中存在未納入其照片庫的圖片或影片時,該相冊將自動顯示。 "已恢復"相簿的出現為因資料庫損壞、相機應用未正確保存至照片庫或第三方應用管理照片庫時照片和視頻丟失提供了解決方案。使用者只需簡單幾步

Hibernate多態映射可映射繼承類別到資料庫,提供以下映射類型:joined-subclass:為子類別建立單獨表,包含父類別所有欄位。 table-per-class:為子類別建立單獨資料表,僅包含子類別特有列。 union-subclass:類似joined-subclass,但父類別表聯合所有子類別列。

如何在PHP中使用MySQLi建立資料庫連線:包含MySQLi擴充(require_once)建立連線函數(functionconnect_to_db)呼叫連線函數($conn=connect_to_db())執行查詢($result=$conn->query())關閉連線( $conn->close())

PHP處理資料庫連線報錯,可以使用下列步驟:使用mysqli_connect_errno()取得錯誤代碼。使用mysqli_connect_error()取得錯誤訊息。透過擷取並記錄這些錯誤訊息,可以輕鬆識別並解決資料庫連接問題,確保應用程式的順暢運作。

GateToken(GT)币是什么?GT(GateToken)是GateChain的链上原生资产,也是Gate.io的官方平台币。GT币的价值与Gate.io及GateChain生态的发展息息相关。什么是GateChain?GateChain诞生于2018年,是Gate.io所推出的新一代高性能公链。GateChain专注于保护用户的链上资产安全,并提供便捷的去中心化交易服务。GateChain的目标是构建一个企业级安全高效的去中心化数字资产储存、分发和交易生态系統。Gatechain具有独创的

透過Go標準庫database/sql包,可以連接到MySQL、PostgreSQL或SQLite等遠端資料庫:建立包含資料庫連接資訊的連接字串。使用sql.Open()函數開啟資料庫連線。執行SQL查詢和插入操作等資料庫操作。使用defer關閉資料庫連線以釋放資源。

在Golang中使用資料庫回呼函數可以實現:在指定資料庫操作完成後執行自訂程式碼。透過單獨的函數新增自訂行為,無需編寫額外程式碼。回調函數可用於插入、更新、刪除和查詢操作。必須使用sql.Exec、sql.QueryRow或sql.Query函數才能使用回呼函數。

蘋果已發表iOS17.5、iPadOS17.5、tvOS17.5、watchOS10.5和macOSSonoma14.5的第二輪開發者測試版,其中iOS17.5引進了蘋果WebDistribution系統。開發者可透過蘋果開發者中心取得新版本,公眾用戶則可透過蘋果Beta版軟體計畫網站註冊參與公開測試。新版的內部版本號分別為:iOS17.5與iPadOS17.5為21F5058e(替代21F5048f),tvOS17.5與HomePodSoftware17.5為21L5553e(取代21L55
