Does anyone have tips for installing #MySQL alongside and existing #MariaDB server in #Ubuntu 22.04? I am using a bunch of MariaDB exclusive field types and functions for geosearches, but would also like to try out Ghost which requires MySQL.
@jemal Uh I can imagine. For how long do you want to test things out? Depending on that, I can give you the command to run it, so you don’t have to figure it out yourself (says the person that actually runs ghost on the wrong DB lol)
@alyx I think I'm going to try and set it up locally and get that going before taking down a server - if only so i can get a feel for the RAM/CPU usage. But I'll take any tips you've got!
@jemal Three solutions comes up to my mind if it's just a temp thing to try Ghost:
Use fly.io and pay a really cheap price to run both the DB and Ghost you want, though, if you don't like Docker, it won't be fun for you. Not the easiest way for sure.
Even if Ghost says it requires MySQL, it seems like it's working fine so far with MariDB, so it might be worth trying it out? Worst that can happen is Ghost won't run
@jemal Do you have a preference between "docker run" commands or a "docker-compose.yml" file?
"docker run" will requires to run the commands I will provide, while having a docker-compose.yml file will do everything for you after doing "docker compose up”
Sorry for all the questions, we can do this later if you'd like.
Hey you know what, I’ll provide both and pick whichever haha
Let me know if you have any issues, I'm really happy to help ❤️ And if you don't want to run any of that, no worries, it's totally ok it just took some time from me and it was fun to do hehe
@jemal If you just want to try Ghost, there are Docker images available which might save you a lot of trouble? Otherwise you'll have to configure either MariaDB or MySQL to listen on a different port, because by default they both use the same one (3306 - or you can configure them to use sockets). You might find some clashes though as commands like mysqldump are usually included in both packages.
Add comment