• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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