I am trying to connect MySQL database with Powerbi. But in powebi i have select the database option after that it showing like 'This connecter requires one more additional components to be installed before it can be used. Please solve my query.
I have installed MSI installer (mysql-connector-net-8.0.32.msi), but it is showing same error.
Related
I cannot get APOC to work on neo4j.
Documentation is good ... when present!
I installed the apoc library via Neo4j Desktop:
Launch Neo4j Desktop
Locate DBMS
Select Plugins tab on right
installed the plugin
Then I open a project.
I try:
CALL apoc.load.json("file:///person.json")
YIELD value
RETURN value;
but
There is no procedure with the name `apoc.load.json` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Indeed The available procedures does not display apoc, in spite it is installed.
Then, after I cleared out that Neo4j Desktop is not using the installed community edition I had, and found that i can find the installed versions under the "more" options > Terminal:
I checked that my neoj4.conf file have these lines:
# Leaving this unconfigured will load all procedures found.
#dbms.security.procedures.allowlist=apoc.coll.*,apoc.load.*,gds.*
(commented out, to load everything, so apoc should load...)
I think I have done OK, as here:
APOC installation neo4j desktop
I also tried to delete the project and set it up again:
https://community.neo4j.com/t5/general-discussions/some-apoc-procedures-not-available/m-p/41590
but still not working...
--
How do I get APOC to work ??
Do I have to install it for each project ?
Do I need to configure it for each DB in the project ?
I am using neo4j desktop 1.5.6.
#Edited
today I replicated steps of yesterday, paying attention to the recommendations of #William Lion answer.
At launch of neo4j Desktop, I was prompted an alert that "Local graph password has been changed".
That is strange, because I have not changed it...
It did not accept nor my previous password (the one I use for the server), nor the default 'neo4j', but could pass the alert because I could ignore this change until the next Graph start.
So I ignored it, and was prompted to enter the password to connect with the neo4j server. And this time, apoc were found.
I tried to close the neo4j desktop, quitting from all open projects, and relaunch. This time I was not asked to input the password for the local dbms. So, I assumed the to have restarted the next Graph, following the previous alert, and I was expected to be requested to input the password again.
Maybe the problem was here. So, to avoid future hiccups:
does neo4j reset the password of local dbms itself after a while or after certain conditions ?
after neo4j desktop closes, am I sure all server and open dmbs instances are properly shut down ? What does until the next Graph start actually mean ?
Plugins must be installed for each DBMS instance in Neo4j Desktop (there can be multiple DBMS instances in each project). Also, there can only be one active DBMS in Neo4j Desktop at a given time. Make sure that you have installed the plugin for the DBMS instance that you want to work with AND that DBMS is the one that is currently running. I'm guessing that you successfully installed the plugin for one DBMS, but tried querying with a different active DBMS that did not have the plugin.
I am trying to edit the settings of my AuraDB hosted neo4j instance, specifically, trying to set the following line:
apoc.import.file.enabled=true
I have looked at the official tutorial and many other places, and for the life of me, I am not able to find out where either the "settings" button is located, or how to locate the neo4j.conf or apoc.conf files. It seems that something has possibly changed in a newer version. I have tried both in the browser at https://console.neo4j.io/#databases and in Neo4J Desktop. For the desktop application, I am running it on Ubuntu via the .appimage. I created my database on the website and connected via remote connection following this guide.
Some things that might help me solve the issue:
Is it possible to open a shell in auradb to let me run normal bash commands?
Is the .conf accessible "within" the .appimage?
From the official description of File locations, I am supposedly able to do the following in Neo4j Desktop to find the configuration file:
From the Open dropdown menu of your Neo4j instance, select Terminal,
and navigate to /conf/neo4j.conf.
Yet, when I press the Open dropdown menu, I do not see a Terminal option. What I get is Neo4j Browser, Neo4j Bloom, and Neo4j ETL Tool.
Aura is a managed database - which is to say that you don't get low-level access to configuration of the kind you're describing. The documentation you're looking at relates to self-hosted instances of Neo4j, where you're the one managing and configuring the instance from scratch and where you have that level of access to the underlying configuration.
To the problem you're trying to solve, the following article entitled Loading data into Neo4j Aura is your best bet for the currently available options for loading data into your managed database.
Per the documentation, APOC is installed in Aura databases, but only a limited set of functions and procedures are enabled (as of May 2022). In particular, only a small subset of apoc.import procedures are available - from what I can see, CSV and GraphML support is enabled via apoc.load.csv and apoc.load.graphml, while you also have access to apoc.load.json and apoc.load.xml.
Lists of the currently supported procedures and functions are available at the foot of that document:
Neo4j Aura Supported APOC procedures (updated).json
Neo4j Aura Supported APOC functions (updated).json
From a Neo4j Aura Knowledge Article:
In Aura, we currently do not support changing any property that may
exist in the Neo4j product and defined in neo4j.conf.
My Neo4j version is community-4.2.4 in the Mac OS.
I used 'bin/neo4j-admin load --from=xxx/g.db.dump --database=xxx.db --force'. And succeed in finding db file in /data/databases as photo showed below.
enter image description here
But the result returned in Browser adding 'show databases' and cannot find the database what I want.
Thanks u guys all for helping me.
OR sending email for communicating more at masichengyo#gamil.com.
So neo4j-admin load and neo4j-admin restore take care of setting up the db in the filesystem. Back in the 3.5.x days this was enough, provided the name of the graph directory matched the name of the active graph configured in the neo4j.conf.
In Neo4j 4.x we support multidatabase, and the system database is where we can do things such as creating new databases, and if you CREATE DATABASE in the system db with the name of the new database, it will use just use the files it finds and create the entry in the system db, allowing you to use it and switch to it in Neo4j.
Since you're on community edition, you won't be able to create a new database, you're restricted to only the neo4j database, so your import would have to force it using neo4j as the db name, and it would overwrite your current neo4j db.
If you need to create multiple databases besides neo4j and system, then you need to be using enterprise edition.
i am trying to search for a way to import database from sql server to neo4j. I searched for a way if exist but i didn't find what i want. My case is : database contains many tables so i want to bring them to neo4j in one click ( if exist ) using a tools or writing dotnet program
There is no 'one-click' solution - but you said you're happy to write some code, so -- here we go!
Neo4j can import via JDBC, via a set of procedures called APOC (https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_load_jdbc). To do this, you'll need the SQL Server JDBC driver (https://learn.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server?view=sql-server-2017).
And here (https://tbgraph.wordpress.com/2017/07/24/neo4j-apoc-load-jdbc/) is a blog describing the process, so that should get you all up and running!
Usually connect to an external database but I wanted to fiddle with creating a project with a local database. I am using SQLServer Express Local Database, not CE.
I can add tables with EF but if I right click on Tables in Server Explorer the only options I have are Refresh and Properties, i.e. no Add Table menu option. Similarly, if I right click on one of the tables EF has created I also get only the Refresh and Properties menu options so I can't add rows, etc. Same problem with stored procedures; I can't add any (should I want to do some testing with EF and stored procedures) because I only have the Refresh and Properties menu options.
FOLLOW UP:
I have isolated this problem to VS2012 Professional. When I use VS2010 it works exactly as expected: I can add tables and stored procedures. Following the same steps with VS2012 results in the situation where there is no menu option to add either tables or stored procedures. I produced these test results with SQLServer 2012 LocalDB.
If you only see Refresh and Properties when you right click on Tables in Server Explorer, you probably need to install SQL Server Data Tools from http://msdn.microsoft.com/en-us/data/hh297027 .
I had a similar problem only with Visual Studio 2012 Express for Web following along with the "Getting started with ASP.Net MVC3" at www.asp.net. The tutorial used a Sql Server Compact edition but I have SQL Express 2012 so I changed the connection string to have the data source point at my local instance, .\SQLExpress2012. The app worked fine and was able to read and write to the database. However I could not edit the database in the Visual Studio Express Database Explorer (all the context menu options were missing except "refresh" and "properties).
I found that changing the data source in the connection string to "Data Source=(LocalDB)\v11.0;" fixed the problem. I read somewhere that if you use LocalDb instead of the SQL Server instance name then it will be accessed under your user account - must have been some kind of permissions issue.
The whole (working) connnection string is:
"Data Source=(LocalDB)\v11.0;AttachDBFilename=|DataDirectory|Movies.mdf;Integrated Security=True;"
Hope this saves someone a bunch of hours pulling their hair out, I'm almost bald now :)
I found that when installing Visual Studio 2013, I had not requested the 'SQL Server Data Tools' feature.
By re-running the installer from 'Control Panel' > 'Programs and Features', using the 'Modify' option, I could add the missing feature. On completion, the 'Add New Table' menu item was available.