# MySQL and MariaDB Fundamentals for Website Owners

https://ferkesh.net/zh/knowledgebase/article/mysql-and-mariadb-foundations

![Diagram linking Identify engine and version, Locate site schema, Review account scope and Test an approved export.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-09.svg#mysql-and-mariadb-foundations)

MySQL and MariaDB are database servers that store structured website data. A site connects using a server address, database name, account and authentication settings. Although many client tools work with both engines, version-specific features and syntax can differ.

## Identify the website’s own connection

1. Check the platform’s supported engine and version. Use authorized hosting tools to match the site to its actual database and confirm what is stored there.
2. Use a dedicated application account with the required permissions. Preserve credentials in the application’s approved configuration and avoid putting them into screenshots.
3. Verify that the appropriate backup method includes required schema and data. For migration, restore on a comparable test instance and check character handling, views and application behavior.

A database server can be healthy while one site has incorrect credentials or a missing table. Compare the exact application error with the provider’s logs.

## Related guides

- [How to Diagnose a Website Database Connection Error](https://ferkesh.net/knowledgebase/article/website-database-connection-error)
- [Create a Database and User in Plesk](https://ferkesh.net/knowledgebase/article/plesk-create-database)
- [How to Prepare a Restorable MySQL Database Backup](https://ferkesh.net/knowledgebase/article/mysql-backup-and-restore-preflight)
- [Developer Resources category](https://ferkesh.net/knowledgebase/category/developer-resources)

## Official references

- [MariaDB Server documentation](https://mariadb.com/docs/server)
- [MySQL mysqldump reference](https://dev.mysql.com/doc/refman/8.4/en/mysqldump.html)

Ferkesh Hosting. Last reviewed November 26, 2026.
