MySQL users, phpMyAdmin, backups and repairs.
Creating a database and a user, connecting an application to it, exporting and importing with phpMyAdmin, and repairing one when a site starts throwing connection or table errors. Most of what people need from a database they never have to write SQL for — but the queries that genuinely help are here as well.
It depends on your plan, and the number is shown in your control panel rather than fixed across every account.
How to back up a database on a scheduleA scheduled export you never have to remember to run is worth more than the best manual backup habit.
How to change a database character set or collationChanging the database default does not touch existing tables, which is the part that catches people out.
How to check how big your database isYour control panel and phpMyAdmin both show it directly, and a short query breaks it down table by table.
How to connect an application to MySQLEvery MySQL connection, in any language, comes down to the same four values — here is where to find them and how to use them.
How to create a MySQL database and userEvery application needs a database, a user, and that user attached to the database — here is the order to do it in.
How to delete a database without breaking a siteThree checks before you delete a database, because there is nothing to undo it with afterwards.
How to export a databaseTurn a live database into a single portable SQL file, ready to back up, move, or hand to a developer.
How to find the query slowing your site downA slow site is usually a slow query wearing a disguise — here is how to catch it in the act.
How to fix "unknown database" errorsThe database name your application is asking for does not exist, at least not under that exact name, on that server.
How to fix a "too many connections" errorThe database has a limit on simultaneous connections, and something is holding on to more of them than it should.
How to grant a user access to a databaseA database user with no privileges cannot do anything, and one with too many is a risk you do not need to take.
How to import a database too large for phpMyAdminA file too big for a browser upload still has three practical ways in — compression, splitting, or the command line.
How to import a database with phpMyAdminPoint phpMyAdmin at a SQL file and it rebuilds the database from it — provided the file is small enough for a single upload.
How to move a database to a new serverAn export, a transfer, an import, and a small set of connection details to update once it lands.
How to optimise a MySQL databaseOPTIMIZE TABLE reclaims space and refreshes statistics — but it behaves differently depending on the storage engine underneath.
How to repair a corrupted MySQL tableA corrupted table has a specific fix, and it is different depending on whether the table is MyISAM or InnoDB.
How to reset a database user passwordResetting the password is the easy part — updating every application that still has the old one saved is the part people forget.
How to search and replace inside a databaseA plain find-and-replace can silently corrupt serialized data — here is how to do it without breaking the site.
MySQL and MariaDB: what is the difference?Two databases that speak the same SQL and the same connection protocol, with a history and a licensing model that pulled them apart.
What is a database table prefix?A short string in front of every table name, mainly so more than one application can share the same database.
What is utf8mb4 and why does it matter?MySQL called something utf8 that was not quite real UTF-8, and utf8mb4 is the character set that actually is.
What SQL injection is, and how sites get hitA decades-old vulnerability that still appears in new code, and the small set of habits that reliably prevent it.
Why is my database host "localhost"?It means "this same machine" — not a placeholder, and not something to change unless you actually need to.
Your first hour with a new hosting account.
26 articles WordPressInstalling, securing, updating and repairing WordPress.
43 articles EmailMailboxes, clients, forwarding and deliverability.
33 articles Domains & DNSNameservers, records, transfers and propagation.
36 articles SSL & SecurityCertificates, HTTPS, malware and hardening.
28 articles Control PanelFinding your way around the hosting panel.
26 articles PHP & DevelopmentVersions, extensions, limits, cron and the shell.
28 articles Migrations & TransfersMoving a site or a domain in, without downtime.
22 articles Speed & PerformanceCaching, images, Core Web Vitals and slow sites.
28 articles Backups & RecoveryTaking backups, and restoring when it counts.
20 articles Errors & TroubleshootingSpecific error messages, and how to clear them.
44 articles VPS & ServersRoot access, SSH, firewalls and server basics.
30 articles Reseller HostingRunning a hosting business on our platform.
22 articles Ecommerce & WooCommerceOnline stores, checkout, payments and PCI basics.
26 articles FTP & File ManagementUploading, permissions and where files belong.
20 articles Billing & AccountInvoices, renewals, upgrades and cancellations.
18 articles SEO & MarketingGetting found once the site is live.
26 articles