Oracle中创建表空间test,并如下创建3个数据文件,最后删除表空间test及其数据文件。
CREATE tablespace test datafile 'C:\app\It.me\oradata\xixi\test_01.dbf' SIZE 10M autoextend ON NEXT 10M maxsize 10G;
Alter tablespace test ADD datafile 'C:\app\It.me\oradata\xixi\test_02.dbf' SIZE 20M autoextend off;
Alter tablespace test ADD datafile 'C:\app\It.me\oradata\xixi\test_03.dbf' SIZE 30M autoextend ON NEXT 10M maxsize unlimited;
select * from dba_data_file where tablespace_name = 'TEST';
DROP tablespace test INCLUDING contents AND datafiles;
select tablespace_name from dba_tablespaces;
Oracle>alter user epoint identified by Gepoint;
MySQL>set password for root@'%'='Gepoint';
MySQL>flush privileges;
sqlplus epoint/Gepoint@127.0.0.1:1521/xixi
-- 连接别人的数据库需要关闭防火墙
sqlplus epoint/Gepoint@192.168.218.100:1512/xixi