how to connect SQL developer to oracle database in M1 mac - oracle

I follow this video https://www.youtube.com/watch?v=3BAsKnfRHwI&t=205s
so i can open sql developer and install docker preview version for M1 mac here is the link where i downloaded
https://docs.docker.com/docker-for-mac/apple-m1/
and i tried so many things to connect those two things but i falied for 3 days..
I'm trying to install oracle 11g with docker but i falied with this message
...
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
fd666a46888100294cf6ce4ab73a371b43da75c76f28e223f96efebb6246daf4
...
anyone knows how do i solve this problem??

Related

Installing OracleXE 21c through Proxy on Windows

I have trouble installing OracleXE on my company PC, when installing it fails because it can't download the file "exectask.exe" and throws an error later saying, the file is missing.
The Problem seems to be, that the installer don't use the Proxy defined in the system variables. When trying to install an older Version (11g) this Problem doesn't occure.
Is there a way to give the oracle installer the Proxy directly?
Sincerly,
MasterSansai

Unsupported Operating System and Failed to connect to MySQL

I am trying to install MySQL but I get the following warning:
I have a Mac and its installed the latest version 11.6 , so I don't understand why it says its not supported.
After that warning I tried to install a connection to MySQL server and I get an error:
I downloaded not the last version, but the second last and now everything it's fine. I know its not a "nice" solution but now I have no warning message and I successfully made an SQL connection.
The version I downloaded is:

Error DBI1189E installing DB2 on Mac Os X El Capitan

I have followed the instructions to install DB2 Express-C found here (which is the official guide on the IBM community forum). Everything worked quite fine until I had to run the db2_install.
When I execute it, it gives me the DBI1189E error:
"DBI1189E There has been an attempt to use db2_install
on an image for a platform that does not match the current platform
'MacOS' on which it is being run.
Explanation:
Possible causes include:
This DB2 install image is not valid for the current
platform.
The current platform is not supported by DB2.
User Response:
Install DB2 using the DB2 install image that corresponds
with the current platform 'MacOS'. "
Anyone knows what went wrong?
The last 2 days I also struggled with installing db2 on My Os X with the El Capitan.
First of all, important to know is that only version 10.1 is supported for mac, while for windows/linux, version 10.5 is supported.
This can cause troubles when migrating an existing database in 10.5 to your mac database in version 10.1. It is off course important to have the right distribution for mac os x.
I also tried the official guide on the IBM community forum, but it didn't work out for me too...
What I did was follow these instructions.
With these instructions, the installation went find, but I encountered some issues with the line:
Initialize the sample database using this command:
db2sampl
Make sure you issue the db2start command using the db2inst1 user.
After my db was started I had some issues with locked files.
I could solve them by issuing the command:
sudo chown db2inst1 /Users/db2inst1/sqllib/adm/*
And then everything worked fine.
Good luck!
I am finding references to seemingly the same problem for example here and here. All I am doing is googling for "DBI1189E mac os". Good luck and let me know if this has worked. Thanks!

Oracle SQL Developer (4.1.1) Mac OSX install issues (El Capitan)

I am attempting to install Oracle SQL Developer Version 4.1.1. onto my MacBook Pro after installing OS X El Capitan. After I download the application and attempt to click on the icon to install it, the application's loading prompt appears and the "loading" bar moves about 5% to the part where it says "registering extensions" right above the loading bar. The application then crashes (no crash report, or anything appears afterwards).
After searching online I cannot find anyone else having this issue.
On a possibly related note - I attempted to install Oracle SQL Developer 4.1.1 on my Parallels Windows 8.1 Virtual Machine and had the same issue. Not sure if this stems from the same reason that my OS X install fails.
Help? suggestions? Im running out of ideas.
Run in terminal:
/Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh
to view errors.
My error was
mkdir: /Users/gs/.sqldeveloper/4.1.0: Permission denied"
Solution:
sudo mv ~/.sqldeveloper ~/sqldeveloper.old
Open the contents of your /Applications/SQLDeveloper.app
Edit /Contents/MacOS/sqldeveloper.sh
Add export JAVA_HOME pointing to your latest Java 1.8 version.
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
This helped me.
Full sqldeveloper.sh file for SQL Developer 4.1.1.
#!/bin/bash
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
here="${0%/*}"
cd "${here}"
cd ../Resources/sqldeveloper/sqldeveloper/bin
bash ./sqldeveloper >>/dev/null
I had a similar problem, I had to download the JDK for the install to work. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
In my case it was an issue related to attached external monitor. I had moved my primary display to an external monitor and then disconnecting external displays allows me to start the app. Plugging the external display in and the application moves to the primary external monitor.
Got info after googling and read that posts from oracle community

postgres create database; column 'dataconfig' does not exist

I've just installed PgAdmin 8.4 on an OSX Lion 10.7.3 pc with Postgres 9.1 installed.
When I try to add a database, I get an error message:
"Error: column 'dataconfig' does not exist"
Does it mean a mismatch between client and server versions? I couldn't find a later PgAdmin version.
If you mean the pgAdmin version that is bundled with some versions of postgresql 8.4 then that version is to old. It is inspecting the system catalogs to figure out the database lay-out but it doesn't support the 9.1 version of the system catalogue. If you used the one click installer you can use the bundled pgadmin. You can find it in Applications/PostgreSQL 9.1/pgAdmin III.app
Otherwise download the latest from here
Try pgadmin3-1.16.1 - it works. I've tried with many other versions (for example pgadmin3-1.8.3 and pgadmin3-1.16.0), but without success.

Resources