• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved difference between mariadb and mysql causing issues. How to use mysql?

mudassarkhan

Basic Pleskian
Hi,

I have had a website created and I am deploying it on my plesk server.

Everything is working fine except a data connection. I have been told that the database has to be mysql and on plesk it is using mariaDB which is not compatible with how my website is set up.

I don't see an option to specifically choose mysql. When I go to add database server it gives me the option "MySQL / MariaDB / Percona"

No option to specify Mysql?
 
1713882189409.png
He says they are deployed on another server he created a website for. However the owner isn't really approachable to find out how they did it.
 
MariaDB is a drop-in replacement for MySQL. But you can't install both on the same server to use with Plesk. More information can be found here: https://support.plesk.com/hc/en-us/...-to-replace-MySQL-with-MariaDB-and-vice-versa
My website is tested local on his set up on mysql and it works fine, he says that the issue is simply that his website needs mysql.
The error is:

He is able to duplicate it simply by changing the database to mariaDB on his local server.
 
Looks like you already have MySQL running (alongside MariDB) on a different port. I suppose you have to change either the database port in the database configuration of your website. Or have to include the port in the hostname of the database configuration (localhost:1015 instead of just localhost)
 
Thank you so much for your help. I took a shortcut and guided the dev to check on that server if it had plesk docker extension. It did. So the guide you linked solved the issue. Mysql is running in a plesk docker container. Which is how they can both run at the same time!
 
Back
Top