当前位置:网站首页>2022-07-19 Damon database connection instance, execution script, system command
2022-07-19 Damon database connection instance, execution script, system command
2022-07-28 06:36:00 【Don't like milkshakes】
Daydream database The connection instance 、 Execute the script 、 System commands
Connect the default DM example
Default connection 5236 Port instance , If the instance is not 5236 Port must specify the corresponding port
disql SYSDBA/SYSDBA
Default password: Enter directly :
[[email protected] ~]$ disql
disql V8
user name :
password :
Use IP Address and port connections
Appoint ip:port Connect :
disql SYSDBA/[email protected]:5236
Can connect this machine , You can also connect to other servers remotely ( Pay attention to the firewall )
Use service name Connect
add to service name Alias :
vim /etc/dm_svc.conf
# Add... At the end
zsl=(127.0.0.1:6236)
Use alias connection disql
disql SYSDBA/[email protected]
Execute the script
Batch execution sql:
SQL> `/usr/local/dm/xxx.sql
# perhaps
SQL> start /usr/local/dm/xxx.sql
Be similar to MySQL in source /usr/local/dm/xxx.sql command
stay Linux Execute... Under the window ` Need to use \` To transfer
disql \`/usr/local/dm/xxx.sql
Execute system commands
Temporary jump to shell operation
SQL> host
# You can also specify the execution command
SQL> host ll
边栏推荐
- set_ multicycle_ path
- 我的部署笔记
- Word自动目录字体修改和行间距的问题
- 开放式耳机有哪些、四款音质超好的气传导耳机推荐
- IP地址的五大分类
- Redhawk Dynamic Analysis
- Machine learning note 5 - logistic regression
- OpenGL development environment configuration [vs2017] + frequently asked questions
- How many columns are the most suitable for Clickhouse to build a width table?
- 万字归纳总结并实现各大常用排序及性能对比
猜你喜欢
随机推荐
QT solves the problem of rebuilding UI files every time they are modified
The startup fails when switching Chinese when using wampserver3.2.6
气传导蓝牙耳机什么牌子好、气传导耳机最好的品牌推荐
Perl Introduction (10) formatted output
MATLAB signal processing
QT batch operation control and set signal slot
Ship detection in SAR image based on yolov5
使用wampserver3.2.6时切换中文时造成启动失败
小程序:wsx脚本
qt自定义滑动按钮(美观且使用方便)
正反斜杠笔记
Perl introductory learning (XI) file operation
【学习笔记】vim 编辑器
[yolov5] environment construction: win11 + mx450
qt解析字符串转为json数据并解析
Combine multiple ICs calendars into a single ICs calendar
【学习笔记】驱动
What are the common English questions in the postgraduate interview?
error: redefinition of ‘xxx‘
【自我救赎的开始】


![[untitled]](/img/de/746832bfb3bb79b090215b135b8917.jpg)





![[server usage record] log in to the remote server through the springboard machine and transfer files](/img/11/1ca6c2f34d43dfb6d766ec0dc3371d.png)
