![]() Looking at the list of installed PHP packages I doubt it's installed from the PPA? $ apt list -installed php\* did not help and I want to keep the PPA for future versions. How to get rid of specific older versions and their extensions.Īpt purge etc. an /etc/php/php5.6 folder with content though php5.6 -v claims it's not installed, but php7.0 -v still works e.g.). ![]() This is exactly how I want it.īut now I have some older, unmaintained versions of PHP installed on the system (I even can see e.g. I installed PHP in different versions and in parallel from an PPA. If everything goes well, your my_cool_database should be listed in the phpMyAdmin database list and you can now export that database and import it anywhere else.I've seen many similar questions but whatever I tried so far wasn't successful. ![]() With that done, start MAMP, go to the welcome page and go to the phpMyAdmin that is built into MAMP. Give yourself a de-facto backup by using a copy instead of the original., With that done, do not start MAMP-maybe even stop it if it automatically starts up-but just copy the /Applications/XAMPP/xamppfiles/var/mysql/my_cool_database/ directory to the MySQL database directory in MAMP located here: /Applications/MAMP/db/mysql57/mysql/my_cool_database/.īe sure to make a copy don’t just move the directory. So something like /Applications/XAMPP/xamppfiles/var/mysql/my_cool_database/ will be there. ![]() That said, if you cannot launch XAMPP in a way that you can connect to phpMyAdmin, there is another way to deal with this: All of your database files for a specific database will be in a directory with that database name in /Applications/XAMPP/xamppfiles/var/mysql/. The best is to export the SQL from one database and import it into the other database that’s how the pros do it. But to be 100% clear when you point out raw database directory paths, that is really the worst way to migrate any database in case like this. Just then go into phpMyAdmin and export the database you want to import into a new location and you should be good to go. What you are describing as your approach-copying raw database files from the file system-seems overly complex and risky.Ĭan you launch XAMPP? If so it should have phpMyAdmin installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |