In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off. How to start related services and generate related databases. I don't know if this is true or not. 1. Generate a database. The default value is dma. Create a directory to store database files.
In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off. How to start related services and generate related databases. I don't know if this is true or not. 1. Generate a database. The default value is dm a. Create a directory to store database files.
In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off.
How to start related services and generate related databases. I don't know if this is true or not.
1. Generate a database. The default value is dm.
A. Create a directory
-- Stores the database file storage directory
Mkdir/opt/dmdbms/data
-- Save dminit logs
Mkdir/opt/dmdbms/data/log
B. Create as prompted
./Dminit
2. Start the database
Start a database in a session
./Dmserver/opt/dmdbms/data/DMSERVER/dm. ini
Dmserver command description:
[Root @ xcl12c bin] #./dmserver help
Format:./dmserver [ini_file_path] [-noconsole] [mount]
Example:
./Dmserver path =/opt/dmdbms/bin/dm. ini
./Dmserver/opt/dmdbms/bin/dm. ini
KEY WORD EXPLANATION
--------------------------------------------------------------------------------
PATH the absolute path of dm. ini or the current directory
-Noconsole start in service mode
Mount start in mount status
HELP print help information
3. You can connect to the new database in another session.
[Root @ xcl12c bin] #./Disql SYSDBA/SYSDBA @ localhost
Server [localhost: 5236]: mode is normal, state is open
Normal user login
Login used time: 8.931 (MS)
Disql V7.1.2.215-Build (2013.11.08-36626 trunc)
Connected to: DM 7.1.2.215
SQL>
MAIL: xcl_168@aliyun.com
BLOG: http://blog.csdn.net/xcl168