当前位置:网站首页>Guidelines for installation and use of Damon database
Guidelines for installation and use of Damon database
2022-07-22 20:23:00 【AscendKing】
The project needs to use Dameng DTS, Just install it
1. install
Just install it directly according to the official documents
Database installation | Damon technical documentation
Configure the instance | Damon technical documentation
Registration service | Damon technical documentation
Start and stop the database | Damon technical documentation
After installation, the environment variable only needs to be added :
export PATH=$PATH:$DM_HOME/bin:$DM_HOME/tool
Connect directly after installation and startup ( Suggest window Lower connection , convenient )
Default account and password
SYSDBA:SYSDBA
2. And then create the user , Create tablespace And associate users with tablespaces
Refer to the official
Create tablespace | Damon technical documentation
Pay attention to the concept of users and patterns
Relationship between users and patterns | Damon technical documentation
3. Create table
Create database objects | Damon technical documentation
I didn't follow the official , The directly created table is called t_test
I use it directly select * from t_test The query keeps reporting errors
An error is as follows :
-2106: The first 1 An error occurred near the line :
Invalid table or view name [T_TEST]
Check for many times and find no problem
There's really no way out , According to the official creation ( Modify the schema name for what you created )
CREATE TABLE test.city
(
city_id CHAR(3) NOT NULL,
city_name VARCHAR(40) NULL,
region_id INT NULL
);
Then execute the query
SELECT * from city
No longer an error
Compare the tables you created , Table name has "_", Just add "" try , Sure enough , It seems that this is the problem
ha-ha , Do not follow the document , Delay time , But it is also a lesson learned , This problem will come up sooner or later
边栏推荐
猜你喜欢
随机推荐
Introduction to machine learning: Logistic regression-2
Redis accesses JSON data
Elastic Search 学习入门之Search全文检索(七)
vim 使用tips
她力量系列八丨陈丹琦:我希望女生能够得到更多的机会,男生和女生之间的gap会逐渐不存在的
What should I do if the web page is hijacked? How to repair DNS hijacked? Introduction to web hijacking
YOLO v1、v2、v3
Leetcode 32. longest valid bracket
类模板剖析
使用CSDN-markdown编辑器入门
What are the ways for Baidu homepage to be hijacked by TN? There are two ways to solve Baidu hijacking
What is the phenomenon of DNS being hijacked? What is DNS? How to solve DNS hijacking
Elastic Search 学习入门之ES的简单操作命令(二)
ping: www.baidu. Com: unknown name or service reason analysis
How to deal with DNS hijacking, DNS hijacking, and DNS hijacking solutions
离线日志采集统计分析
json按格式逐行输出到文件
iptables实现负载均衡
dns被劫持有什么现象?DNS是什么 dns被劫持了如何解决
win8.1系统发生蓝屏问题解决方法、IE主页被恶意劫持怎么解决?