我已经在Microsoft的Windows虚拟机中使用Parallels Desktop for Mac Pro Edition安装了Oracle Database 11g Express Edition,其命令如下:
SQL> connect system/admin;
SQL> create user test identified by 'test';
SQL> create table vehicle (id int primary key, name varchar2(255));
SQL> select sys_context('userenv', 'server_host') from dual;
I get `nunitof7d0`
但是当我想从Mac终端ping它时,我收到了一个错误:
MacBook-Pro-de-nunito:~ nunito$ ping nunitof7d0
ping: cannot resolve nunitof7d0: Unknown host
从我获得的Windows虚拟机ping:
C:\Users\nunito>ping nunitof7d0
Pinging NUNITOF7D0 [fe80::7886:83ee:1a95:aaf5%11] with 32 bytes of data:
Reply from fe80::7886:83ee:1a95:aaf5%11: time<1ms
Reply from fe80::7886:83ee:1a95:aaf5%11: time<1ms
Reply from fe80::7886:83ee:1a95:aaf5%11: time<1ms
Reply from fe80::7886:83ee:1a95:aaf5%11: time<1ms
现在我想从我的Mac与SQL Developer连接,但我不知道应该使用哪些参数,我已经尝试了
但不幸的是,它没有成功
我还尝试将主机fe80::7886:83ee:1a95:aaf5%11
放入相同的结果。