MAMP Pro: after update to 4 database is empty - mamp-pro

After Updating from MAMP 3 to 4 all the database is completly empty. In appsolute/MAMP PRO/db there are two folders: mysql with my databases and mysql56 which is nearly empty. How could i get my databases in the new mysql? I cannot dump all my databases.

Reason: I renamed the old mamp and mamp pro folders before installing the new version. So mamp does not realize that it was an update and created new databases.
Solution:
delete version 4
restore version 3 completely
update once more
Attention: you have to shut down all servers before installing the update

Related

How to downgrade QuestDB from 6.1 to 6.0.9?

I tried to upgrade my QuestDB instance from 6.0.9 to 6.1 and the new version failed to on few tables with error in the logs
2021-10-28T22:34:26.1289079Z E i.q.c.m.EngineMigration failed to upgrade table path=XXXX
Now I cannot query / write few tables in 6.1. How can I downgrade back to 6.0.9. When I run 6.0.9 I got error for another half of my tables
Metadata version does not match runtime version [expected=422, actual=424]
How can I downgrade to back to 6.0.9?
6.1 had an issue to upgrade some tables. To downgrade a_table back to 6.0.9 you need to go to quest_root/db/a_table directory and rename files
meta.v422 to meta overwriting existing file
_txn.v422 to _txn
You also need to delete file quest_root/db/upgrade.d
After that if you start QuestDB 6.0.9 a_table will be operational

MAMP Pro - Host database missing

I fired up MAMP Pro this morning and one of my databases is missing.
It's not listed in the Databases list within Mamp Pro and it's not listed within phpMyAdmin either.
I did a few things recently (listed below) that may have contributed to this but
my Question 1 is
Are databases stored as individual .sql files anywhere within my Mac? I don't see anything in /Users/me/Library/Application Support/appsolute that is obviously a sql file. If I knew where to locate this, I could try recover a .sql file with a file recovery software
Things I did that may have caused this
1. I upgraded from Mamp Pro 5.0.1 to 5.0.3 this morning
2. As part of that upgrade I had to run a Tools > Upgrade database
APart from that I can't think what might have happened. Thanks
MAMP PRO has information here on missing databases.
https://appsolute.zendesk.com/hc/en-us/articles/215198946-I-upgraded-to-MAMP-PRO-5-and-I-am-missing-databases-
Your MAMP PRO 4 database most likely did not get copied over.

How to install multiple sitecore 9.0 instance in different CM servers with single database?

I am installing Sitecore 9.0 instance in 2 CM servers. I have successfully installed Sitecore 9.0 instance in first CM server with the database on a different server.
But when I try to install a new Sitecore 9.0 instance in the second CM server it is trying to create a new database. But I want both my Sitecore instance to use the same database created during the first Sitecore 9.0 instance creation.
Please find below the PowerShell commands used to install Sitecore 9.0
Invoke-SitecoreInstall –Path ‘D:\Sitecore\Sitecore 9.0.1 rev. 171219 (WDP XM1 packages)\XM1 Configuration files 9.0.1 rev. 171219\sitecore-solr.json’
Invoke-SitecoreInstall –Path ‘D:\Sitecore\Sitecore 9.0.1 rev. 171219 (WDP XM1 packages)\XM1 Configuration files 9.0.1 rev. 171219\sitecore-XM1-cm.json’
You can't easily skip the database creation step in sitecore-XP1-cm.json, but as a quick solution you can simply change the SqlDbPrefix parameter when running the installation script on the second CM instance. As a result it will still create another set of databases what you can delete later. And on the successful completion of the Sitecore installation script you will need to change the connection strings on the second CM in ../App_Config/ConnectionStrings.config to point it the databases you want to use.

How to deploy django project and postgreSQL from localhost to Digital ocean

I have developed django project on my computer. I used virtuelenv and installed all libraries and packages there. I also have postgreSQL database on my computer. How could I deploy my existing server with all files and libraries, my postgreSQL database with all tables and all rows to digitalocean. I only found tutorials on how to create new django projects on digitalocean.
Actually there is plenty of tutorials and documentation for doing this.
https://www.digitalocean.com/community/tags/django?type=tutorials
In the other hand you only have to migrate your data base from your computer to your new server. Maybe you should check this

How to create a Sitecore Analytics Reporting DB

We've got a Sitecore 7.5 installation where we did not deploy any xDB features. There's no Mongo DB or Analytics reporting DBs. We're now exploring upgrading to 8 and turning on these features. I'm doing a test upgrade on a dev server. I've got the Mongo DB set up, but there currently is no Analytics DB in SQL. How do I go about creating that DB?
When you download Sitecore 8 from https://dev.sitecore.net/ there is a zip of the webroot (e.g. from this page). Once you download that webroot zip, you can find the Sitecore.Analytics.mdf and Sitecore.Analytics.ldf files within the \Databases\ folder.