MAMP (PRO) 6 how can I export hosts configuration? - mamp

I moved from Intel Mac to M1 and after upgrading I can't kill MySQL anymore, I also have MAMP server randomly restarting
I would like to do a fresh install the only hard think would be recreate all my host structure ( not files and DB )
I know MAMP Pro has a backup utility but ( for me ) it is useless since it try to backup the entire host with all files
What I need to backup is only web server configuration, but can't find any info about that

Related

Offline slony installation on enterprise database 13.1

I have been using Windows 10 operating system. I want to use slony master-slave setup with postgresql. For this, I have downloaded enterprise database 13.1 version. After installation I select slony download from stackbuilder plus. Then I copied these 2 files to offline windows 10 machine. I install both of them. After that, i try to run a simple slonik script to setup master. while executing "init cluster" command i get file not found error, c:servershare/slony1_base.2.8.sql. Do you have an idea for the solution?
After setting SLONY_SHARE_DIR to the location that the slony1 .sql files are in, everything works fine.

MAMP Downgrading from version 5 back to 4 and getting error on start

Receiving an error trying to load up MAMP 4.5 after downgrading from version 5 to 4.5 because their serial number system is broke and no one in support is working.
This message comes up when trying to start, any thoughts?
Downloaded from the website under "older versions"
https://www.mamp.info/en/downloads/older-versions/
OS: Mac
I had to downgrade, as well; though in my case it's because mySQL will not upgrade my databases, but I was able to license it.
I was able to successfully downgrade by doing the following:
Backed up the /Applications/MAMP folder (just in case)
Deleted /Applications/MAMP and /Applications/MAMP Pro.app by moving them to the trash (these were created by MAMP Pro 5 installer)
Downloaded and installed MAMP Pro 4.5 from the link you posted above
I'm back up and running with MAMP Pro 4.5 at this point, so looks like everything worked out. Good luck! Depending on your setup, you might need to migrate stuff out of the /Applications/MAMP folder (definitely back that sucker up before you delete it).
Please note: For my original answer, I mis-read the MAMP Pro docs and incorrectly re-located the database directory in /Applications/MAMP/db to my user Library folder (~/Library). This apparently did nothing, because the databases were actually located in the root-level /Library folder. I highly recommend backing this folder up prior to upgrading or downgrading. The MAMP 5 installer automatically copies your mysql56 folder, but the problem I ran into is that evidently it didn't copy all of the database folders within it (which is presumably why the mySQL 5.7 upgrade logic was failing hard on my end). So a backup is a great idea, because the steps the MAMP installer takes to keep a historical backup don't actually work too well in my experience.

MAMP 4.2 MySQL Server Not Starting

I recently upgraded from MAMP 4.1.1 to MAMP 4.2 on my Mac running MacOS 10.12.6. After upgrading, MAMP 4.2 will not start the MySQL server. Additionally, there is not an option to Stop servers. I see a green box to the right of Apache Server along with the the ability to select Preferences and Start Servers. Open WebStart page is grayed out.
I followed the instructions on MAMP mysql server won't start. No mysql processes are running to delete the ib_logfile0 and ib_logfile1 files from MAMP/db/mysql56, but that did not work. In addition to the ib_logfiles, I also deleted ibdata1 followed by all of the contents of mysql56, but neither of those worked.
Lastly, I do not see a mysqld running in Activity Monitor.
Any help in restoring my MAMP functionality is greatly appreciated. Thank you in advance for any help.
I had the same problem and tried the same things which didn't solved it.
What solved it for me is I tried starting mySQL in terminal manually in Terminal, here:
/Applications/MAMP/bin/startMysql.sh
I saw this error in Terminal prompt:
mysqld_safe error: log-error set to '/Applications/MAMP/logs/mysql_error_log.err', however file don't exists. Create writable for user 'mysql'.
So I manually create a file '/Applications/MAMP/logs/mysql_error_log.err' and retry startMysql.sh, mySQL then started with no problem.
Back to MAMP app console, I can also start/stop servers and 'Open WebStart Page' with no problem now.

Web and database servers are starting but EasyPHP Dashbord is not recognizing it

In EasyPHP 16.1.1 dashbord when I click on start, Apache and MySQL are starting but the dashbord interface is not recognizing it. The dashboard is still proposing me to launch the servers (but on a different port this time).
I checked and both servers are running, I can access the www folder through localhost.
Nothing special in the log files.
Install : EasyPHP 16.1.1 on a Windows 8.1 x64
If someone has an idea ?
Open the task manager and the processes eds-* if any
Delete the files conf_last_dbserver.php and conf_last_dbserver.php in eds-dashboard
Run run-easyphp-devserver.exe again
Open the Administration
Restart your servers

Unable to install PostgreSQL on dev machine

I'm trying to install PGSQL 8.3 (and 8.4 and 9.0) on my work laptop. At the end of the installation, the installer complains it can't init the cluster. Investigating more, I noticed that the service is not even installed. I did use the "OneClick Installer", not the pgAdmin stand alone install. I tried installing as Administrator and as a regular user. In all the cases, the pgsql system account is created and the files copied, but the service is not.
I successfully installed PGSQL many times on my home PC. Both the laptop and desktop use Windows 7 64 bits (former is Professional, later is Ultimate). The only differences I can think of are that the laptop is part of an Active Directory and uses McAfee, while the desktop is only on a workgroup and uses Windows Security Essentials.
Are you sure the postgres user is allowed to create files in the data directory? The installer defaults to putting the data directory where the binaries are installed (e.g. c:\Program Files) which is usually not writeable by a regular user (and I never understood why the installer contains such an idiotic default).
McAffee could be an issue though. I have heard several stories about virus scanners infering with the Postgres (or other DBMS). Can you turn McAffee off - at least for the data directory?
Another problem could be that the installer is not able to create the postgres windows user (that is used to run the service).
If you are a local administrator on that machine, try to create the user before the installer does it. The installer will then not try to create the user account.
As a last ressort, you could install PostgreSQL without the installer (this is what I usually do).
Download the ZIP file from http://www.enterprisedb.com/products-services-training/pgbindownload
Unzip it into a convenient location
Run initdb (make sure you do that using the postgres user account - the one that is used to run the service later!)
run pg_ctlr register to create the Windows service
If any of those steps fails you'll see a proper error message which is not always the case with the installer.
Anti-virus is a well known issue:
http://wiki.postgresql.org/wiki/Running_&_Installing_PostgreSQL_On_Native_Windows#Antivirus_software
PostgreSQL connection problems
(answer is from one the core developers)
Postgresql 8.4 and BitDefender 11
With earlier versions of PostgreSQL, I found I had to delete the user "postgres" before reinstalling would work. Not sure what versions had that problem, though.