Oracle Web Tool like PGAdmin for linux installation? - linux

We're running serveral Oracle DBs hosted on AWS RDS. For security reasons, I can't connect to these DBs via Oracle SQL Developer, as the server are not exposed to the internet. I want to run a DB tool like PGAdmin on an EC2 instance and access this tool via webbrowser in order to manage my db, run sql queries etc.
Is there any tool out there you're aware of, fulfilling this needs?
Thanks!

I am working with OmniDB now - seems to do the trick.

Related

Oracle: failed to fetch data ZABBIX

So i am trying to monitor oracle database replication using zabbix,
my setup is:
oracle database 11g r2
zabbix 5.4
i did install ODBC client in zabbix server and follow this step, my zabbix server can connect with my oracle database via ODBC. But, when i add template 'Oracle Database by ODBC' i got this error:
i already set host macros, here's the configuration:
i turn off firewall, disable selinux, but it's still can fetch data from my database..
can someone help me? or maybe now zabbix doesn't support monitoring oracle database 11g?
thank you
This setup does not support oracle 11. I am pretty sure the template could be adjusted for that but you do need some oracle and zabbix knowledge to get that working.
Years ago I created https://github.com/ikzelf/zbxdb and that does support about each and every release I could find. It is quite a different setup but it also supports more advanced oracle configurations. Maybe it can help you.

Connect to external SQLite Database

I have a website, which is powered by an SQLite database (essentially a db file). Sometimes it is required to look at my database from other machines (within the same local network). For that purpose I currently use sqlite-web which provides a mini SQL web viewer into my db file.
Since sqlite-web's functionality is quite limited, I am wondering whether there are ways to let other machines connect to my local db file via normal desktop applications (such as DataGrip). Similar to how one can connect to postgres via jdbc:postgresql://host:port. Or is this not possible with SQLite?
Edit: I would like to limit the access (e.g. via username + password or a generic PIN), as I don't want everyone in the network to be able to connect to my db.
Map the drive and then use the file path of the mapping.
Or use remote desktop to access directly
https://support.microsoft.com/en-us/windows/how-to-use-remote-desktop-5fe128d5-8fb1-7a23-3b8a-41e636865e8c

Access to database without installing any client/lib

I am currently on a project where I have 2 VM (virtual machine), a Windows and Linux one.
I also have an Oracle database where I have a simple table called "Material".
On the 2 VM, I want to connect to my Oracle database without any client or libraries. The thing is I want to create a script which would run on the VM and can connect to my database and insert some datas to my table "Material" but I can't install anything on my VM (like the mysqlclient for exemple).
So is it possible to connect to a database without installing anything on my VM? Or perhaps can I access to an online client to send my SQL to my Oracle Database?
I know it's quite difficult to understand my problem so if you have any question, feel free to ask.

Using ODBC Driver in Azure to connect to external database

I am working in a business in New Zealand. We currently use a remote server (Plexus) to store a large amount of data (some tables > 2 billion rows). We have started down the SharePoint route, and I have created a number of databases and apps in SharePoint that use this data. Currently, I have to run a program in New Zealand that downloads the data to our local server and then pushes up that data into an Azure database, which the web apps connect to. I would like to remove this middle step for many reasons but the biggest reason is that the web connection between NZ and the US tends to result in a lot of time outs and long pulls due to having to pull large data sets across the Pacific. The remote database we are using is Plexus.
Ideally, I would like to have my C# code sitting in Azure and have this connect to the remote server directly. This way I could simply send the SQL request to Plex and have this data go directly into the Azure databases. The major advantage would be that this would mean it would all be based in the US which would make things a lot faster.
The major hurdle is that we need to install an ODBC Driver given to us by the remote server into Azure so it recognises the calls as genuine. Our systems adminstrator has said he has looked into it and it seems this can't be done?
I was hoping someone on the StackOverFlow community has encountered a similar issue and resolved it?
Note: Please dont think I am asking whether Azure has an ODBC connection because I know it does. I am not asking if I can connect TO Azure, I am asking if I can connect Azure to another external data source.
In a Worker Role/Cloud service in azure you can install the ODBC driver in a startup task using powershells ODBC commandlets.
More info here: Powershell Add-OdbcDsn and here: Powershell startup task in cloud services
One option is to create a virtual machine in the same Azure data center as your database and install your ODBC driver and your C# app.

SQL Server Agent Job Set Up

I'm a newbie to SQL and .Net and this question might be stupid too to ask but I still need help.
I've a Database located on Server1. Now I got another Server, lets call it Server2 to work on my Development.
Server1 on which my database is located seems to be a SQL Server Express installation so I don't see a SQL Server Agent in there. Server2 has a SQL Server Agent. So can I use Server2's SQL Server Agent and schedule queries to run automatically on Server1? Is this possible? If it is then can someone explain me how to do it.
I've successfully run Jobs from SQL Express, there's no built in support for the mangement studio, but you can manually do all the work. it is a pretty long-winded process though. Follow the excellent and very detailed guide in this blog post.
http://www.sqlteam.com/article/scheduling-jobs-in-sql-server-express
Alternatively there is a project to create an SQL Agent for SQL Express: http://standalonesqlagent.codeplex.com/
If you create a linked server on Server2 that points to Server1, yes you can create jobs on Server2 that execute code on Server1 using server1.database.dbo.object syntax.
You can learn about creating linked servers here:
http://technet.microsoft.com/en-us/library/ff772782.aspx
(You'll have to change the version to your version, since you didn't tell us what version you're using. You'll also want to make sure the linked server is collation compatible and supports data access/RPC.)
Of course you will have to deal with security and also how to deal with connectivity failures, and general dependencies between the two servers.
You can add error handling with sp_testlinkedserver.

Resources