On every upgrade of PgAdmin 4 (currently at version 1.5), we lost all our server definitions as well as other config details. Quite annoying when one has to deal with a dozen servers :)
I have not been able to find where the server definitions are stored so to try making a copy before installing the new version.
Any idea?
Server definitions and other configurations of pgAdmin4 are stored at,
Linux/Mac:
~/.pgadmin/pgadmin4.db
Windows:
C:\Users\YourUsername\AppData\Roaming\pgAdmin\pgadmin4.db
Make a copy of this file somewhere and paste it again at the same location after installation is complete and you are good to go.
Related
I've recently upgraded my Xampp environment to v3.2.2 of the software. I have the same versions running on 2 different machines using the same configuration for both environments.
By the same configuration, I mean that I got the software working the way I wanted on one machine, shut down Xampp, zipped up the folder, and copied that folder over to the other machine where it started right up. I do not use the Xampp installer, I download the full zip file.
Here is a list revised configuration files for both machines:
paths are relative to Xampp folder.
apache/conf/httpd.conf
apache/conf/extra/httpd-xampp.conf
php/php.ini
php/pear.bat
php/pciconf.bat
php/bin/my.ini
phpMyAdmin/config.inc.php
setup_xampp.bat
The issue I'm having is that the same database that imports through the same version of phpMyAdmin works on one machine and not the other.
To no avail, I tried adding this line of code to the phpMyAdmin config file.
$cfg['ExecTimeLimit'] = 0;
That was recommended in this thread:
Giving script timeout passed on database import
I'm running 2 versions of Xampp. That is all working fine. Interestingly, the same database will import on the offending machine without timing out on Xampp v3.2.1. I use the same configurations for that version of Xampp too.
Could this have something to do with MariaDB? The older version of Xampp used mySQL.
I can work around the issue, for now, but I'd sure appreciate solving the mystery of why I can import on one machine and not the other.
Thanks, in advance, for any helpful replies.
I have a VB based VS2005 appl developed using Access DB a few years back on Windows XP and it has been working fine until moving to Windows 7. I re-built the solution by changing to the x64 platform also at the sametime modified the Access DB a bit resulting in a new Access DB file to be included in the solution. When I debug in VS2005, I have the new version of DB residing in my project\x86\Release folder and successfully access this new version.
Problem is that once I create the solution for deployment, the deployed application kept on opening the OLD version of the access database (mdb) file. I was not able to find where is it opening the old version of DB from even after I removed the mdb from the installed folder. I have been a lot of digging and research on web and not able to find out how to solve this problem.
Can someone please help to tell me how I can have my deployed appl to open the new version of DB ?
Thanks in advance
It sounds like you are not allowing for virtualisation - do you know about this? For security reasons after XP (Vista onwards) Microsoft doesn't allow writing to the Programs folder and if it encounters an application attempting to do this makes a copy of the files trying to be written to (in your case an Access database) and places it somewhere (can't remember exactly where at the moment) hidden from casual user.
For example, if you look at the database on your Win 7 machine in the same location at your .exe file I should think you will find it is unused - and since it was installed on the machine the OS has been redirecting requests to read/write to your database to the virtualised copy it created for you.
So, first of all find this other copy (sorry I'm currently on a mac and can't remember the location) and see if that contains data that your application is creating. Then try substituting your new database (making a a copy of your old one first of course) and seeing if your application is reading/writing to it OK.
Then it is a matter of handling replacement of databases during application installation.
However, you should give serious consideration to placing your database in a location which is not virtualised!
I download jdeveloper studio edition and install it in C:\Oracle\Middleware
then I install weblogic instance using C:\Oracle\Middleware\wlserver_10.3\common\bin\config.exe
to C:\myproject\domains\myweblogic
Then download DMS_11.1.0.0.0_WINDOWS.zip and install it to C:\Oracle\Middleware\Mobile.
thereafter cant start
C:\Oracle\Middleware\Mobile\Mobile\Server\bin\runmobileserver.bat
unless i change the variable to this batch file
set DOMAIN_DIR=C:\myproject\domains\myweblogic
what do I do next to see that it works?
is there a simple example that creates a sigle table and synchronized between server and mobile clients?
very difficult to find information on this technology. interfere very popular tags (Oracle, Database).
If you install Database Mobile Server directly in the WebLogic directory, you will not need to edit the batch file. For instance, I believe the default install directory is:
C:\Oracle\Middleware\wlserver_10.3
So if you used the default install directory, you would install Database Mobile Server there, with no added 'Mobile' or other directory. If you chose to install WebLogic elsewhere, then replace the above with that directory.
There is another small issue to be aware of.
The installer will give you warning about installing in a non-empty
directory. You should click through the warning. This is a known issue
documented in the Release Notes.
Regarding your other question about a demo, there is a Java demo found in
<MOBILE_HOME>\Mobile\Server\demos\consolidator_api
You will need to download a client and perform a sync, which is documented here:
http://download.oracle.com/docs/cd/E22663_01/doc.11100/e22681/instsqlite.htm#BABGAACI
I hope that helps, good luck with your project. Let me know if you have further questions.
Eric Jensen, Oracle PM
I'm planning on distributing postgresql with my windows application but the size of postgresql is too big, what are some of the file that can be removed from the package to reduce the size of the postgresql server?
I think you can safely remove the following directories:
include
doc
installer
pgAdmin III
scripts
StackBuilder
symbols (not 100% sure about this, but I think they are only needed for debugging)
(Based on the layout after a typical install)
You can also delete
bin\stackbuilder.exe
bin\pgAdmin3.exe
I've been doing php before but as usual,I used mysql as a database. So everything seems easy when using xampp.
Now, for some reason I am required to use Oracle as the database but after installing Oracle database 10g on my pc, I can't seem to start apache from the control panel at all! When I press start,instead of it being started it goes back to the stopped state. I tried making it a service and starting it from, it pops out an error.
What is making this conflict, I can use IIS to do this but I prefer xampp so I'm eager to make this thing work.
Does anyone know whats the conflict? Is it the port?
I know how to configure the oracle extension and all with php to get it to work, but I am just confused why apache can't be started when oracle db 10g is installed.
Hope someone can help me out.
I just had this problem with startup.pl not starting (according to the log files), so I went into xampp\apache\conf\httpd.conf and editted out this include line by putting a hash (or pound as it is called in the states) (#) in front of it:
Perl settings
Include "conf/extra/httpd-perl.conf"
it seems to work now and I have now got oracle and apache working on my machine.
Im not sure if there will be any problems later on because of removing the line, but I don't think I need to use anything perl related so hopefully it will be fine
Sounds like platform is Windows. Oracle has the habit to alter the PATH setting, system wide. There is also an Apache installation in the Oracle installation. Maybe you can tweak the Apache service to use the Oracle Apache installation. Otherwise, make sure that your Apache start service does not have ORACLE_HOME or sub-directories of ORACLE_HOME/bin in the PATH. The services that Oracle installs normally are not on the standard ports so it's not very likely that it is a port conflict.