Webinoly provides comprehensive database management with support for both MySQL and MariaDB, including automatic configuration, security hardening, and optimization.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/QROkes/webinoly/llms.txt
Use this file to discover all available pages before exploring further.
Database Engine Selection
Webinoly supports both MySQL and MariaDB:- MariaDB (Default)
- MySQL
MariaDB is the default database engine, offering:
- Drop-in MySQL replacement
- Better performance
- More storage engines
- Enhanced security
- Active development
Supported Versions
MariaDB Versions
MariaDB 10.11
LTS - Long-term support
MariaDB 11.4
Current stable release
MariaDB 11.8
Default - Latest stable
MySQL Versions
MySQL 8.0
LTS - Long-term support
MySQL 8.4
Default - Latest LTS
Installation
Full Database Server
Install complete MySQL/MariaDB server:Client Only
Install only the database client:The client installation is useful for connecting to external database servers without running a local database.
Choosing Database Engine
Set Before Installation
Check Current Engine
Installation Process
Webinoly automatically handles the complete setup:Package Installation
- Adds official repository
- Installs database server packages
- Configures systemd service
Security Configuration
Runs
mysql_secure_installation equivalent:- Generates strong root password
- Removes anonymous users
- Disables remote root access
- Drops test database
- Reloads privilege tables
User Creation
Creates admin user with privileges:
- Generates secure admin password
- Grants full database access
- Enables WITH GRANT OPTION
Accessing Database Credentials
Webinoly stores database credentials securely:Database Configuration
Configuration Files Structure
- MariaDB
- MySQL
Webinoly Optimizations
Webinoly applies several database optimizations:Managing Database Server
Service Control
Database Access
- Admin User
- Root User
- External Connection
User Management
Create Database and User
Remove User and Database
View Users
External Database Access
Enable Public Access
Configure Firewall
Create Remote User
Version Management
Switch Database Version
Webinoly allows version upgrades:Upgrade Version
- Back up with keep-data
- Remove old version
- Install new version
- Upgrade system tables
Database Backup and Restore
Manual Backup
Restore Database
Logging Configuration
Webinoly provides log management:Error Log
Always enabled by default:Binary Log
Useful for replication and point-in-time recovery:Slow Query Log
Identify slow queries:General Query Log
Log all queries (use with caution):phpMyAdmin Integration
Webinoly can install phpMyAdmin for web-based management:phpMyAdmin is automatically configured to work with your database and is protected by HTTP authentication.
Performance Optimization
Buffer Pool Size
Automatic optimization based on RAM:Connection Optimization
Query Cache
Note: Query cache is deprecated in MySQL 8.0+ and removed in MariaDB 10.10+
Removing Database
Complete Removal
Keep Data
Remove server but preserve databases:Troubleshooting
Cannot connect to database
Cannot connect to database
Check service status and socket:
Too many connections error
Too many connections error
Increase max_connections:
Slow query performance
Slow query performance
Enable and check slow query log:
Version upgrade failed
Version upgrade failed
Check for sufficient disk space and try:
Engine mismatch error
Engine mismatch error
Webinoly detects incompatible data:Solution: Use the same engine as your existing data or migrate data properly.
Best Practices
Regular Backups
Schedule automated database backups using Webinoly’s backup tools
Secure Access
Use strong passwords and limit remote access to specific IPs only
Monitor Performance
Enable slow query log to identify performance bottlenecks
Keep Updated
Regularly update to latest stable version for security patches
Next Steps
Install phpMyAdmin
Web-based database management interface
Create WordPress Site
Deploy WordPress with automatic database setup
Database Backups
Configure automated database backups
External Database
Connect to external database servers