I'm working in pgAdmin 4 webtool.
When using the query tool, I can save and open files, but I can't delete them.
I'm saving the files using the following method:
But then there is no way to delete saved queries that I don't need anymore.
Here is the file manager:
Did I overlook it somehow?
If not through File Manager, then how? There must be some way to do some cleaning up.
As pgAdmin4 can be used as web application & hosted on web servers that functionality is not provided in File manager.
Related
Hello i'm trying to deploy the Fraud Detection Use case that was shared in NEO4j use cases
Following this link: https://neo4j.com/graphgist/credit-card-fraud-detection
To get deeper in the data I want to work with the database that was shared in the link
https://www.dropbox.com/s/4uij4gs2iyva5bd/credit%20card%20fraud.zip
I don't know how to load it since there is no .csv file just .db with the same structure of system and neo4j Databases,
I have tried to create a Database and connect it to the path of the fraud detection file,
Anyone can help me please to work with this database
If you are using Neo4j Desktop:
Go to the management tab of your graph
Click "Open terminal"
Locate the folder data/databases/
Copy the content of the folder you downloaded from Dropbox into data/databases/fraud.db
Back to the management tab, go to the settings tab and identify the line:
#dbms.active_database=graph.db
Change this line to:
dbms.active_database=fraud.db
Restart your database
In case of error, go back to the settings and uncomment:
#dbms.allow_upgrade=true
This is my first time on here. I am having an issue deploying a java application I made on myEclipse. I am using Filezilla to host my Wildfly 9.0.2 test server. I exported my project to a .war file and upon dragging it into the test server I am met with a deployment.failed. Upon viewing the file in Notepad it declares "Services with missing/unavailable dependencies". one such error can be seen below:
[ "jboss.naming.context.java.module.myproject.myproject.env.common.jdbc.database_connection is missing [jboss.naming.context.java.database.connection] "
There are five of these similar errors and all point to a diffferent database connection of some type that I am not using within my project. I understand the issue but I do not know where these dependencies are declared and how I can go about removing them.
Any help will be greatly appreciated.
Kind Regards,
Paul
Creating the WAR file will use the project's deployment assembly (assuming you're using MyEclipse 2013 or later). Right click on the project and select Properties. Then go to the MyEclipse/Deployment Assembly page. This will have all of the files that are added to the deployment (or to the WAR file).
However, the message seems to suggest that a project is using a database connection which can't be found when running on the server. A first thought was that you're using the inbuilt Derby database but don't have that running when you run on Wildfly.But you say that you're not using a database. Also, I'm not familiar with how Filezilla can host a J2EE server - I thought Filezilla was an FTP client and server solution. Perhaps you could give more details, if this answer doesn't help.
SQL lite created by using the following code
Database db = Database.openOrCreate("test.db");
Its creates the database, after that we created tables on this database. We need to know where is this test.db file stored?.
Note: we are using Net Beans IDE on windows 10 system for our development.
Thanks in advance
This is discussed in the SQL section. You need to use getDatabasePath before opening the database to replace the file with a premade file which I assume is the use case you are aiming at.
We can get the .db file from the path "C:\Users\Admin.cn1\database".
I have database on localhost. Now I want to install some web application which needs an empty database (for example "myapplication").
How can I create such database in PhpStorm 9?
I only found the way to open the SQL-Console (CTRL+SHIFT+F10), and create in manually by entering SQL command:
CREATE DATABASE myapplication;
Ok, is not much to write, so maybe no need to have a GUI for that ?! :)
I'm a newbie to pushing Drupal websites from local to live via a CP panel with a hosting company and wondered if there are any key steps I need to follow? I usually end up with Internal Server 500 errors or no themes showing so not a good start!
The steps I follow are:
Export the database from my local PHPMyAdmin
Log into my hosting CP Panel and create the database on there
Create a user for the database (with password)
Change the settings.php to match the database settings
Load all Drupal files via FTP
Create a 'tmp' folder in the 'sites > default> files' directory
What am I doing wrong?! Is it something to do with the .htaccess file as to why I either get the error or my theme never shows?
Any help would be much appreciated! So stressful and frsutrating as a newbie! Once I've done 1 I'm hoping it'll be plain sailing!!
Thanks!
C
You have the basic steps right. Check the php error logs on the server (probably accessible via the control panel if you dont have ssh access), they should give you more information as to what actually caused the 500 errors.
Doubt it is an htaccess issue unless you are doing something crazy in there.
Can you see he drupal admin at all? If so, clear cache, check watchdog for clues also.
It's easier to download and install Drupal again on the live server rather than to copy everything via FTP. The settings.php file is where your MySQL information is stored so this file should not be copied. Follow Drupal's documentation on how to install Drupal at https://drupal.org/documentation/install/download
To transfer your database, install and enable the Backup and Migrate module on your local server from https://drupal.org/project/backup_migrate and back up your database locally.
After Drupal is installed on the live server, go ahead and copy your modules, themes, and files from /sites/all and /sites/default/files (or any non-Drupal core files that you may have created). Enable and use the Backup and Migrate module to restore your database to your live server. You may need to configure the php.ini file if the database is over 8MB.