当前位置:网站首页>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
边栏推荐
- The startup fails when switching Chinese when using wampserver3.2.6
- 小程序navigator无法跳转(debug)
- 2022-05-15 based on JWT token
- Several methods of QT setting loading interface
- [yolov5] environment construction: win11 + mx450
- Servlet
- MySQL join skills
- 【学习笔记】知识管理
- Pytorch learning note 4 - automatic calculation of gradient descent autograd
- C语言的编译和预处理
猜你喜欢
随机推荐
Listener
C语言的动态内存管理函数
Find the network address and broadcast address of the host according to the IP address and subnet mask
set_ multicycle_ path
开放式耳机推荐哪款最好、性价比最高的开放式耳机
Matlab simulation of radar imaging 4 - range resolution analysis
Icc2 use report_ Placement check floorplan
【学习笔记】工具
转义字符笔记
Icc2 (III) clock tree synthesis
七夕送女朋友什么礼物好?不会送礼的男生速看!
execjs 调用
qt绘画事件-设置背景图片
空气传导耳机哪个牌子好、备受好评的气传导耳机推荐
使用wampserver3.2.6时切换中文时造成启动失败
Pytorch learning note 4 - automatic calculation of gradient descent autograd
error: redefinition of ‘xxx‘
数组解法秘籍
自定义组件--父子组件之间的通信
How many columns are the most suitable for Clickhouse to build a width table?









