![]() |
VOOZH | about |
DataGrip is a database IDE that allows SQL developers to query, create, and manage databases. When paired with the CData JDBC Driver for MYOB AccountRight, DataGrip can work with live MYOB AccountRight data. This article shows how to establish a connection to MYOB AccountRight data in DataGrip and use the table editor to load MYOB AccountRight data.
The steps below describe how to create a new Data Source in DataGrip for MYOB AccountRight.
For assistance in constructing the JDBC URL, use the connection string designer built into the MYOB AccountRight JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.myob.jar
Fill in the connection properties and copy the connection string to the clipboard.
These properties are required when connecting to a company file (both for Cloud and On-Premise instances).
To connect to a cloud instance of MYOB, you can use the embedded OAuth credentials or create an OAuth app with MYOB. This process is detailed in the Help documentation.
When connecting to an on-premise instance, set the following connection property in addition to those above:
jdbc:myob:OAuthClientId=YourClientId; OAuthClientSecret=YourClientSecret; CompanyFileId=yourCompanyFileId; CallbackURL=http://localhost:33333; User=companyFileUser; Password=companyFilePassword;InitiateOAuth=GETANDREFRESH;
At this point, you will see the data source in the Data Explorer.
To browse through the MYOB AccountRight entities (available as tables) accessible through the JDBC Driver, expand the Data Source.
π Exploring the data (Salesforce is shown.)To execute queries, right click on any table and select "New" -> "Query Console."
π Opening a new Query Console.In the Console, write the SQL query you wish to execute. For example:
SELECT Id, Name FROM Accounts WHERE Type = 'Bank'π Querying with SQL (Salesforce is shown.)
Download a free, 30-day trial of the CData JDBC Driver for MYOB AccountRight and start working with your live MYOB AccountRight data in DataGrip. Reach out to our Support Team if you have any questions.
Download a free trial of the MYOB AccountRight Driver to get started:
Download NowLearn more:
π MYOB AccountRight IconComplete read-write access to MYOB AccountRight enables developers to search (Customers, Transactions, Invoices, Sales Receipts, etc.), update items, edit customers, and more, from any Java/J2EE application.