I understand that to reverse engineer a database in Visio you require a ODBC data source name. I created one using the PostgreSQL Unicode(x64) driver.
In the Visio Reverse Engineering Wizard, you can select from Microsoft SQL Server, ODBC Generic Driver, and Oracle Server. The created DSNs show only up under Microsoft SQL Server and Oracle Server; when selecting the ODBC Generic Driver, there are no Data sources. When I create one using the New button, it again shows up under both the Microsoft SQL Server and Oracle Server.
When I select the DSN from either list, I can enter the User and Password, but get the one of the following errors:
Oracle driver: Warning! You are using a Visio 'Oracle Server' driver to connect with a 'PostgreSQL' DBMS datasource. By using an incompatible driver, it is possible that the catalog information retrieved will be incomplete.
Microsoft SQL driver: Function sequence error
In both cases, I am unable to generate a diagram. Any thoughts?
The "Setup" button next to the installed Visio drivers allows you to select the ODBC drivers to use. If no ODBC driver is selected, all DSNs are displayed; if specific ODBC drivers are selected, only those DSNs which use that specific driver will be displayed.
In my case, the Microsoft SQL Server and Oracle Server Visio drivers did not specify any ODBC drivers to use so all DSNs were displayed.
On the other hand, the ODBC Generic Driver had the PostgreSQL ANSI drivers selected which resulted in my DSN using the PostgreSQL Unicode driver NOT to be displayed. Clicking on the Setup button and adding a checkmark to the PostgreSQL Unicode drivers made the DSN available for selection and the Visio was able to reverse-engineer the database.
Select ODBC drivers associated with "ODBC Generic Driver"
Related
I'm on a Windows server and I have installed 2 things:
- MariaDB version 10.5.9
- MariaDB ODBC Driver version 3.1.13
Now I'm using the ODBC Data Source Administrator to create an ODBC connection. So I clicked on 'Add', chose MariaDB ODBC driver and got the following screen in front of me:
I really have no clue what to fill under Server Name, Port, User Name and Password. Especially the Server name seems quiet hard because I don't know where to get it from....
I've Enterprise Architect v12 and I want to use its Database builder in order to create a live connection between it and a postgresql database.
This is what I've done:
I've downloaded and installed PostgreSQL 9.5
During installation I've installed with StackBuilder Npgsql v2.2.4.3-2 and psqlODBC (64 bit) v09.03.0400-1.
I've started pgAdmin III and I can connect to my local database. I've created a new one without problems.
I've created in EA a new project: in technology I've selected Database and Data model: PostgreSQL.
In DataModel -> Tables -> Tables I've added a table Table1 and I've created a column id (varchar and primary key)
In the same table I've added a Datatabase connection Database connection 1.
I double click on Database connection 1 and then I select ODBC based database. Then click OK
At this point I'm not able to select my postgresql database. The data origin window (I don't know if it's the right name I've the italian version of windows) gives me two tabs: File origin data and computer origin data. In the first case inside the postgresql data folder that I've selected during installation I don't find anything useful, while in the second case I can see only Excel files and MS Access Database. If I click on New button I can select the data origin only for the current user and in the list I can't see postgresql (SQL Server, Microsoft paradox, etc).
What I'm doing wrong? How can I read my posgresql database from EA?
Enterprise Architect only connects to 32 bit ODBC datasources.
You can access the 32 bit ODBC manager from within EA from Tools|ODBC Data Sources or directly in windows from c:\Windows\SysWOW64\odbcad32.exe
Please suggest what is the difference between odbc connection and oracle server connection in crystal reports while connecting to oracle database.
Please suggest when we will use both of them
ODBC works with "rectangular" or 2D data. If you have spatial data, you will need to use the native Oracle client. Our DBA also says Oracle ODBC has to convert data types while a native client would be "apples to apples".
If you have a Crystal Server accessing an Oracle database, use the native Oracle client. On your workstation, also run the same client whether ODBC or Native as the server.
I am trying to create an Add Alias within Squirrel DB for Oracle. Does anyone have a sample of how to make this Alias work? I just need some pointers.
In order to create an Add Alias, you need to ensure that the JDBC driver that will be used has been appropriately set up. You can tell that a JDBC driver is set up by the Green Check Mark that appears next to it in the Drivers window.
The Oracle Thin Driver could be set up to connect to an Oracle DB. I've downloaded and configured the ojdbc6-11g.jar by selecting Oracle Thin Driver in the Drivers Window and then selecting Modify. I added an Extra Class Path that points to the location to ojdbc6-11g.jar itself.
Once the driver is set up, I went ahead and added the Alias using the appropriate connection string information. Now I am able to access my Oracle DB within Squirrel SQL.
I have a client with FileMaker Pro 11 Advanced.
I need to be able to connect to the filemaker database via SQL. I am using MS SQL Server 2008 R2, or Server 2012 can be used.
These are the steps I have tried
0) Turned on ODBC/JDBC sharing in File -> Sharing on FileMaker Pro 11 Advanced for "All Users"
1) installed the FileMaker OBDC driver included on the filemaker disc
2) odbcad32.exe in C:\Windows\SysWOW64 and added a new filemaker System DSN and directed it to the filemaker database.
3) Attempted to add a linked server to SQL using Provider Microsoft OLE DB Provider for OBDC Drivers and the System DSN name i created for Data Source. I left all other fields blank.
I get this error:
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "FILEMAKER2".
OLE DB provider "MSDASQL" for linked server "FILEMAKER2" returned message "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application". (Microsoft SQL Server, Error: 7303)
FILEMAKER2 is the what i called the System DSN.
What am I doing wrong/What do I need to correct in order to connect to filemaker with SQL?
Is there a connection string to put in for Provider String?
I have the same mismatch error trying to do a test connect with access.
Thank you for any help.
The error you're getting is because of the driver installed is a 32bit driver propably on a 64bit system.
Look in the downloads of FM for the correct xbit driver.
I've connected to FM using ODBC from PHP apps to do basic inserts, updates, deletes of data. I haven't worked with it like you're attempting to do, though, and like #ted said, FM really wasn't built as a SQL platform.
Their answer to this was to go the other way around. You can setup External SQL sources within FileMaker, and bind your SQL database to FM so that those tables show up in FM the same as regular FM tables. These tables can then be used within FM scripts accordingly, so you could setup any data sync steps necessary there. You could create scripts to move data from FM layouts into the SQL DB layouts at given intervals throughout the day, for example.
Hope that helps.
FileMaker 11 only comes with a 32 bit ODBC driver. The error you got happens when you use a 32 bit driver with the 64 bit ODBC admin utility. Set up your DSN using the 32 bit utility, found here:
C:\Windows\SysWOW64\odbcad32.exe
...and it will work fine.