how to integrate Odoo with MySQL - mysql

I am trying to integrate Odoo(openerp-8) with MySQL on ubuntu server, to get the database access instead of postgresql.
But I am unable to figure out the correct way to do that.
I tried this link, but it didn't help me
http://openerp-team.blogspot.de/2009/08/open-erp-server-with-mysql.html
Any better ideas on configuring odoo with MySQL?

In Odoo apps Store One Free module Available name is "External Database Sources"
This module allows you to define connections to foreign databases using ODBC, Oracle Client or SQLAlchemy.
Database sources can be configured in Settings > Configuration -> Data sources.
Depending on the database, you need:
to install unixodbc and python-pyodbc packages to use ODBC connections.
to install FreeTDS driver (tdsodbc package) and configure it through ODBC to connect to Microsoft SQL Server.
to install and configure Oracle Instant Client and cx_Oracle python library to connect to Oracle.
Sun and Open ERP:
The cost-effective, highly-scalable ERP solution
Read This Doc Write by Fabien Pickaers, CEO Odoo and Sun:
http://www.epicos.com/EPCompanyProfileWeb/Content/NARITAS/Sun_and_Open_ERP.pdf
SnipptBucket News : http://snippetbucket.com/2014/07/openerp-mysql-odoo-mysql-synchronization-odoo-automation-openerp-automation/
Reference Link: https://www.odoo.com/apps/modules/8.0/base_external_dbsource/

Related

Azure Managed SQL - ODBC Drivers

I have an Azure Managed SQL instance that I would like to use to connect to a MySQL server via a linked server used ODBC. I have tried and this keeps telling me I do not have the driver installed or the data source doesn't exist.
Is this because it expects this to be installed on the Azure machine hosting the server? I have seen mentions of people setting up an Azure VM to connect to the machine and install drivers / setup ODBC. Is this correct?
Can someone please either tell me how to connect to ODBC using DSN from my PC, or confirm if the error is due to the VM requirement
For reference, I have followed numerous guides and still have the same issue
Thanks in advance

SSIS - Using Attunity connector with Oracle Express Edition

I've been trying to setup a local test environment by installing Oracle Express Edition. I've got a test database up and running and can query that database from Oracle SQL Developer. I then installed the Attunity Oracle connector. I found documentation that said I should install both 32-bit and 64-bit versions of the Oracle Client for Windows, so this is what I did. Actually these are just zip packages that you have to unzip and add to your PATH environment variable. (Apparently the people at Oracle haven't heard of installers.) I then created an SSIS package, added an Oracle Source component to my data flow and created an Oracle Connection manager for it. However, I'm unable to connect to the XE database. The error I receive is 'Oracle Home not found.'
Any ideas? Is it even possible to do this?
VS2015, SQL Server 2014 Express, Data Tools 14.0.61021.0, Oracle Express Edition 11g R2
#Rubio,
You'll need to set your system environment variables for Oracle on the VM or local box you're running the SSIS package if that's where your version of Oracle Express resides. To determine where that is, the directory path should be one level above the bin directory where the sqlplus executable exists.
Here's an example setting: ORACLE_HOME=c:\Oracle\product\11.2.0. You should also set your path to include $Oracle_HOME\bin.
To set your environment variables in Windows, go to the advanced system settings, click on environment variables, add a new one under system.

Connection Manager Provider SSIS package in VS 2012

I am creating my first SSIS package using Business Intelligence in Visual Studio 2012. I am adding the contents of an Excel sheet to an local VS database. In the Destination Assistant I am asked Destination Type = SQL Server, New: Provider - I see no .NET Framework option. The result seems to be that I am then unable to select my server and therefore databases.
Am I just missing the point?
I would recommend that you investigate the destination server and verify that you have the providers installed on that system. Typically these are installed at the time that SQL server is installed, but is possible via custom installation to specify the providers that are installed. It may be necessary for you to install any providers needed. A second option would be to point to a database that you know that you can connect to, say a localhost sandbox or other tried database. That would help you to determine if it's server side or client installation issues.

How to set up MySQL in IBM Worklight

I just have learned about IBM Worklight, and I was wondering of how to set up and configure MySQL database. I've set Worklight Adapter, but, I have no clue of how to make database with MySQL.
You should go through the IBM Worklight Getting Started training materials to properly familiarize yourself with IBM Worklight.
The steps to make a Worklight project work in conjunction with MySQL are as follows.
The Database:
Download and install MySQL (v5.1 or v5.5)
Download the MySQL Connector/J driver and keep it at the side for now
Download and install some software to interface with it. I recommend the Community edition of SQLYog.
Using SQLyog, create a new Database "Worklight"
Using SQLyog, create a new user "Worklight" (password "Worklight")
Worklight:
Download Eclipse Java EE 4.2.2 ("Juno" SR2)
Install Worklight Studio (the IBM Worklight Developer Edition Eclipse plug-in. You can search for it via Eclipse >> Help >> Marketplace >> "worklight")
Create a new project
In your project, place the Connector/J driver in yourProject\server\lib
In your project, open the worklight.properties file located at yourProject\server\conf and search for "mysql". Uncomment the following properties. Also edit them with the database, username and password values from above:
wl.db.type=MYSQL
wl.db.url=jdbc:mysql://localhost:3306/Worklight
wl.db.username=Worklight
wl.db.password=Worklight
If you now right-click the projcet and choose "Start Worklight Server", the server should launch successfully; if not, you did something wrong. :)
If the above works for you, you can now follow the MySQL adapter training module - follow the steps, and make sure to also configure the adapter XML with the database properties as requested in page 8.

IBM Worklight database connection

I have installed Worklight Server and with DB2 database, and now I try to migrate an application that has a MySQL database which is obviously not working. Is there any workaround? Do I have to use an adapter to interface the DB2 and MySQL?
A database usually requires a connector driver in order to interface with it.
Had you used the IBM Installation Manager to install Worklight with DB2 database (available to IBM Worklight customers, are you one?), it would require you to supply such a driver, so I will assume - since you did not provide any information on your environment setup - that you are using the Development Edition (Eclipse + Worklight Studio plug-in).
In this case you need to edit the worklight.properties file (can be found in Eclipse under yourProject\server\conf).
Change the database type to DB2 (ucomment it) and supply the required information based on your environment.
The DB2 connector can be download through this page. Get the correct version for your installation of DB2.
Place the driver in the lib folder (can be found in Eclipse under yourProject\server).
If you are in fact using Liberty or WebSphere, see this troubleshooting section with installation instructions for DB2 and more.