Do we have option to connect perl to MS access db in unix/linux platform? - perl

I thinks windows os it is possible. But I'm not sure about unix/linux. Is there any option to do that. Any one tried before.

You access a MS Access file using ODBC via Perl perl DBI and perl DBD::ODBC using the following methods:
MDB tools (as other have said) which is free
Using an ODBC-ODBC Bridge commercial
Using a Microsoft Access ODBC Driver for Linux/Unix commercial
As current maintainer of DBD::ODBC I've had people report a lot of problems with MDB tools but if you free this is your only choice.
(2) requires you install a service on the windows machine where your MS Access file is located and then it uses the MS Access ODBC Driver. It provides a client ODBC driver for Linux and Unix which talks to the service on the Windows machine.
(3) requires direct access to the MS Access file i.e., you need to have it accessible from the Linux/Unix machine either by copying it to the local disk or accessing it via SMB (samba and file sharing from Windows machine).

Related

Oracle Database 18c installation taking forever to install on windows 10

I'm trying to install Oracle Database 18c locally on my windows 10 pro education but installation is stuck on Creating Oracle XE database even It wasn't allowing to cancel the installation at this point I had to do this through task manager , I have already tried the following as suggested here but no use:
0)Please disable anti-virus and try again.
Is ORACLE_HOME or TNS_ADMIN set in the environment? Go to a command prompt, type "set". You will need to temporarily unset any such environment variables.
Are you using Windows 10 Home Edition? It is not supported and the installer is not properly checking for it in the Prerequisite check.
Are you using Server 2019? Same issue.
On your network adapter that you are using, check (enable) "Client for Microsoft Networks" and "File and Printer Sharing for Microsoft Networks".
Check to make sure Netbios is enabled on your network connection:
In some cases, antivirus has interfered with an installation. Try installing without AV.
Try creating a local user and adding to local administrator group and then log in and install as that user.
In my case, the problem occurred because a space was used as a password.

Windows 10 - DB2 / ODBC / .NET connection to AS400 / V4R3M0

I am looking for a way to establish a database connection to a AS400 Release V4R3M0 via ODBC or even better with .NET. Under Windows XP I can access the AS400 with the ODBC interface and the driver from the IBM Client Access software. But my release is not working under Windows 10. I have downloaded the IBM Data Server Client Packages - Version 11.5. But I could not establish a connection with it.
I tried it with ODBC Datasource configuration and with the commandline
db2cli execsql -connstring "DATABASE=databasename;HOSTNAME=as400;PORT=8471;UID=user;PWD=password;"
Thank you for your help.
First, you'll need a rather old version of the IBM ODBC driver. Newer versions yield a password error when connecting to very old systems. I'm using the driver from iseriesaccess for linux 7.1.0-2. I guess the same applies to Windows.
Please realise that V4R3 is from 1998 and it will get increasingly hard to find ways to get functioning connections to it from modern Windows systems.

Oracle Forms 10g Copy command

I am using oracle 10g forms. I want to copy a image saved in my PC to server. While I checked locally by using two destination of my pc it works fine.
Code is
the_command:= 'copy D:\WORKORDER\'||:title.filename||'_'||:title.page||'.jpg D:\vish\'||:title.filename||'_'||:title.page||'.jpg';
My server is linux based. So I used the command
copy D:\WORKORDER\'||:title.filename||'_'||:title.page||'.jpg \WEB\folder\WORK_ORDER\'||:title.filename||'_'||:title.page||'.jpg';
It is not copying image in my pc to serverlocation. I tried both forward and backward slashes. Please help
I'd say that you should install Webutil and use its CLIENT_HOST to do that.
Although Forms offers the HOST built-in, as 10g Forms application runs on the Application server, HOST affects files on the server - not locally, on your PC. Therefore, as I said - Webutil's CLIENT_HOST.

How do I get started if I want to use PostgreSQL for local use?

Good day,
Currently I use MS Access at home for several Databases (for personal use).
At work, I use PostgreSQL, which is infinity times better. I want to start using postgres for my personally used databases, but I don't know where to start.
I've tried reading the documentation, but still don't know how to start. I don't have a server at home; is it possible I can just make a local database/tablespace? Or would I have to host a virtual server?
Note that I am willing to use other open source databases if there is an easy option out there - MS access is just so... terrible.
Thanks,
So, it seems you have Windows at home. You just need to download full installer for PostgreSQL:
http://www.postgresql.org/download/windows/
After installation it will automatically add starting postgres server as a service on local machine. That means, server will always run in background, but you can disable that later, or just uninstall.
After that, you can use pgAdmin (included in default installation package) or other client tools to access the DB engine.
UPD in pgadmin, create connection with this settings:
'localhost' as hostname;
port - 5432;
user, database - postgres (for testing purpose only - you should create your own user and tables with restricted rights later).
Password for postgres (that is DB admin user) must be entered during installation process.
Server settings are stored somewhere here:
"C:\Program Files\PostgreSQL\9.3\data"
pg_hba.conf - Client Authentication Configuration File
postgresql.conf - Configuration File

PostgreSQL: Procedure or documentation for a strictly local installation

I am trying to do a local installation of a large but simple installation PostgreSQL 9.3.2 to hold about 14 GB of data, currently in a CSV file. This is my first attempt to install any database other than SQLite. The installer is asking me questions that I do not know how to answer and that seem inappropriate for an installation that I do not want to make available to the internet. I expect to be interacting with it through the R package RPostgreSQL. The database will contain primarily US Census data that is publicly available for free, and so not a tempting target. For instance, the installer asks me what port to use, and seems to require that I set a password. I prefer to set it up with no internet or remote accessibility at all, even from me.
Could someone tell me or point me toward documentation for producing a strictly local installation with minimal irrelevant hoops to jump through, both on installation and on use? I did a series of searches on variant of PostgreSQL & “install locally” or “local installation” or “create local database”, etc. but these were unproductive.
This will be on an ancient but lightly rebuilt Compaq laptop, Intel Core 2 Duo, Windows XP OS with SP3.
Any help folks could offer much appreciated.
If you're looking for an install that doesn't run a server and listen on TCP/IP, it isn't really possible, because PostgreSQL is a client/server database that (on Windows) communicates with clients solely over TCP/IP.
A "local only" install is one where the TCP/IP socket listens only on localhost, i.e. 127.0.0.1.
If you were really keen, you could not install the Windows service for the server at all, and just grab the binaries. To use PostgreSQL you would then have to initdb a new database directory, and start PostgreSQL when you wanted it with pg_ctl. See the user manual for details on these commands. When running, PostgreSQL would still be a server listening on a TCP/IP port, there's just no way around that on Windows.
On UNIX systems PostgreSQL can listen on a unix socket (a bit like a windows named pipe). This is not supported by PostgreSQL on Windows. Even then, it still has to run a server.
If you're looking for something like an embedded, on-demand, or in-memory PostgreSQL that runs out of the client library, there is no such thing.