Installing pyodbc on redhat - redhat

I am trying to install pyodbc on Redhat. I know that for pyodbc you need the unixODBC-devel. However if I have the sql server odbc driver installed on my server do I still need unixODBC?

Are you talking about this driver?
http://www.microsoft.com/en-us/download/details.aspx?id=36437
If you're using that, it is a drop in for unixODBC, however, the installation instructions seem to require you to have unixODBC, and then perform a "drop in" installation. Too bad there isn't something in yum.

Related

How to connect PostgreSQL to web2py?

How do I connect a postgresql to a web2py application? The web2py documetation says that I can connect it using the command db = DAL("postgres://myuser:mypassword#localhost:5432/mydb") but upon doing it, it produces an error saying RuntimeError: No driver of supported ones ('psycopg2',) is available.
I already installed psycopg2 but I don't know how to use it in the web2py app. There are not a lot of resources out there about this so I'm having a lot of trouble.
Your DAL code is correct. I think psycopg2 is not installed correctly.
Maybe you want to install psycopg2-binary.

Which PostgreSQL Package to Install

We have the following requirements. Could anyone suggest which PostgreSQL package to choose?
Server supporting multiple connections on the same port
Trigger
GUI to interact with the server
Features to support back up & restore database
Ability to connect to a remote postgreSQL server
We would require it for both Windows 7 & OS X El Capitan
UPDATE:
The below link contains multiple links to download PostgreSQL. As we can not download all of them & try out, require someone's help to point us to the right package with the above mentioned components/features
postgres
postgres
pgAdmin
pg_dump, pg_restore, psql
psql lets you specify database (including remote) to connect to
All above works both windows and osX
EnterpriseDb has free packages for postgres that include commonly used components like pgAdmin (a GUI). They have packages for both Windows and OS X but I would use homebrew instead for OS X. Homebrew is an OS X package manager. There's several tutorials for installing postgres via Homebrew. Here is one.
You would install pgAdmin separately.
Installing via Homebrew is a little more complex but gives you more flexibility and capability.
If you're just starting out with postgres, the EnterpriseDB packages will be easier.

MySQL Installation Wizard for Microsoft Windows

I tried to install MySQL on my machine (win 8 64 bit), I downloaded mysql-5.6.24-winx64.exe and after completing MySQL 5.6 setup wizard, the MySQL Server Instance Configuration Wizard does not start and nothing happens. In the windows start menu for MySQL I have only 2 options:MySQL 5.6 command line client and MySQL 5.6 command line - Unicode.
So what can I do to resolve this problem and run MYSQL on my machine, I am waiting for your advice. Please help me I need to resolve this problem
I strongly recommend to use the all-in-one Windows installer for installing a MySQL server plus any additional tool you want, like MySQL Workbench, connectors or documentation. It will not only install the right package but will also do semi-automatic updates, check for prerequisites, start the configuration wizard etc.

Installing the DB2 9.7 ODBC driver

I have downloaded the DB2 ODBC client for Windows on x86, and found out that it's a .zip containing a tree of files. I found no instruction wheresoever on:
what to do with these files
how to subsequently register the ODBC driver.
Would anyone know?
This seems to be a common problem, as evidenced at How to install DB2 ODBC or OLEDB Driver where someone got the ZIP files but had no instructions on how to install them.
http://www.ryslander.com/how-to-install-and-configure-db2-odbc-driver/ has instructions with screenshots on how to install the driver, including registering it.

How to access Pgadmin3 on Ubuntu - OpenErp

On windows the allinone package automatically installs the pgadmin3 manager.
On Ubuntu i've installed the all-in-one .deb package of openerp 7, it comes with the postgresql db on it, but i just can't figure out how to launch it...
On running the command find / -name pgadmin3 it throws me a lot of folders on the /opt/openerp installation but still doesn't tell me where the database manager is.
Should i install it apart? Be aware that the all-in-one .deb package already has postgresql, i wouldn't like to override some configuration on the server.
EDIT:
I ran the command as sudo find / -name pgadmin3 it doesn't finds anything, it is maybe possible that the all-in-one .deb package doesn't comes with it? (pgadmin3) Just the postgresql server without the pgadmin3 manager?
It indeed needed to be installed, now i can access it, but the problem now is how to configure it to communicate with the openerp db.
I'm adding the new server connection, but it gives me errors with the user and password, i don't know if the user is openpg with password openpgpwd or maybe user openerp password admin?