Knowledgebase

Viewing articles tagged 'phpmyadmin'

"Error Establishing a Database Connection" in WordPress, Causes and Solution. In this article we shall look how to resolve the "Error Establishing a Database Connection".... A Practical Database Task Reference Common jobs and where they are covered.TAKING A BACKUPcPanel > Backup > Partial Backups, or... Altering Table Structure Adding, changing and removing columns.WHEN YOU WOULDAdding a column for custom data Widening a... Another update is currently in progress WordPress thinks an update is running.WHAT IT MEANSA lock left behind by an interrupted... Backing Up a Database Manually The most important single backup.USING PHPMYADMINcPanel > phpMyAdmin.Select the... Backing Up a Database Properly The most important backup you take.WHY IT MATTERS MOSTFiles can usually be reinstalled. The... Cannot Log In to the Administrator Area Locked out of your own application.FIRST CHECKSIs the password correct? Reset it rather than... Cleaning the Database Compromises that live in data.WHY CHECK ITSome compromises inject content into the database... Cleaning Up a Bloated WordPress Database Over time the database fills with data no visitor ever sees, which slows queries and inflates... Cleaning Up Database Bloat Reclaiming size and speed.WHERE BLOAT ACCUMULATESPost revisions, one per edit, indefinitely... Comparing Two Databases Finding what differs.WHEN YOU NEED ITConfirming a migration copied everything Comparing staging... Connecting to MySQL from the Command Line Direct database access over SSH.CONNECTINGUse the mysql client with your database username and... Creating a MySQL Database and User Most web applications need a database, a user, and that user granted access to it. All three... Creating a Table When you need somewhere to put data.WHENA custom feature storing its own data An import needing a... Database Backup Is Incomplete or Truncated A dump that stops partway.HOW TO TELLOpen the SQL file in a text editor and look at the end. A... Database Corruption and How to Handle It Tables in an inconsistent state.THE SYMPTOMSTables marked as crashed Errors when reading specific... Database Errors in Applications Connection and query failures.ERROR ESTABLISHING A DATABASE CONNECTIONThe credentials in the... Databases on Shared Hosting MySQL and MariaDB databases are available on every plan, managed through cPanel.CREATING... Desktop Database Tools Working from your own machine.WHAT THEY AREApplications that connect to a database and provide a... Exporting a Database Taking a backup.THE PROCEDURESelect the database in the left panel.Export tab.Quick export, SQL... Exporting Only Part of a Database Taking specific tables or rows.WHYRecovering one table from a backup Moving specific data between... Extracting Data for Reporting Getting information out.WHYProducing a customer list Analysing orders Auditing content Providing... Finding Which Database Belongs to Which Site Untangling a multi-site account.THE RELIABLE METHODRead each site's configuration file.WordPress:... Fixing "Another Update Is Currently in Progress" WordPress sets a database lock while updating core and clears it when finished. An interrupted... Fixing "Error Establishing a Database Connection" WordPress cannot reach or authenticate to its database. There are four realistic causes. 1. Wrong... Fixing the WordPress Site URL in the Database When you cannot reach the admin.WHEN YOU NEED THISAfter a migration, where the site redirects to... Getting Started with phpMyAdmin The interface explained.OPENING ITcPanel > phpMyAdmin. You are logged in automatically with... Handling a Database That Will Not Import When the dump refuses to load.THE COMMON CAUSESThe file exceeds the upload limit The import times... Handling Character Set and Encoding Problems Mangled characters after a move.THE SYMPTOMAccented characters, curly quotes and symbols... How Much Database Does Your Site Need Size, growth and limits.TYPICAL SIZESA small brochure site: a few megabytesA blog with several... How to Back Up Your WordPress Site A WordPress site is two things: the files in public_html and the database. A usable backup... How to Install WordPress Manually (File Manager and phpMyAdmin) Manual installation is useful when you are restoring a specific WordPress version, installing... Import has exceeded the maximum execution time A database or content import stopped partway.WHAT IT MEANSThe import took longer than PHP permits... Importing a Database Restoring or migrating data.BEFORE IMPORTINGDrop the existing tables. Importing over existing... Importing and Exporting a Database Exporting produces a .sql file containing your entire database. Importing loads one back... Importing and Exporting Databases Efficiently Moving data without timeouts.EXPORTINGmysqldump produces a SQL file containing structure and... Importing CSV Data Loading data from a spreadsheet.WHENBulk-loading products, customers or reference data Migrating... Logging In to WordPress and Resetting a Lost Admin Password Your WordPress dashboard is separate from cPanel and from your ZillionKingHost billing account.... Migrating a Database Between Hosts Moving data without losing any.THE PROCEDUREExport the source database with mysqldump, or... Migrating an Existing WordPress Site to ZillionKingHost You can move an existing site to us yourself in under an hour, or request our free migration... Monitoring Database Growth Over Time Spotting problems before they matter.WHAT TO RECORDTotal database size, monthly The size of the... My Database Was Corrupted or Emptied Data loss without file loss.WHAT YOU SEEError establishing a database connection Missing content... MySQL and MariaDB Explained The two names you will see.WHAT THEY AREDatabase server software. Your application connects to it... MySQL server has gone away The connection was lost mid-query.WHAT IT MEANSThe database closed the connection while the... NULL and Empty Values A distinction that causes bugs.THE DIFFERENCENULL means no value exists. An empty string means a... phpMyAdmin Settings Worth Changing Making the tool more usable.WHEREThe Settings link on the phpMyAdmin home page.WORTH ADJUSTINGThe... Recovering a Single Deleted Row Getting one record back.THE SITUATIONOne post, one order, one customer deleted in error. The rest... Recovering a Site You Cannot Log Into Regaining access without the admin interface.FOR WORDPRESSWP-CLI creates a user, resets a... Repairing and Optimising Tables Maintenance operations.REPAIRFor a table marked as crashed, usually after an interrupted write or... Resetting a WordPress Password in the Database Regaining access when locked out.WHEN YOU NEED ITThe password reset email does not arrive,... Restoring a Database The restore that matters most.FROM JETBACKUPcPanel > JetBackup > Database Backups. Select... Restoring a Database from Backup Getting data back.BEFORE RESTORINGTake a copy of the current state. It contains everything added... Restoring from a Backup The method depends on where the backup came from.JETBACKUPcPanel > JetBackup. Choose File... Restoring Is Taking Too Long When recovery is slower than you can afford.WHY IT MATTERSRecovery time is part of your plan. A... Restoring Only Part of a Site Selective recovery.WHY IT IS USUALLY BETTERRestoring everything rolls back everything. If one... Restoring Your WordPress Site from a Backup Restoring reverses the backup method you used. Take a fresh copy of the current broken state... Running SQL Queries Safely Using the SQL tab without breaking things.THE DISCIPLINEWrite a SELECT first, with the same WHERE... Splitting a Large Database Export When the file is too big to handle.WHEN THIS ARISESA database too large for phpMyAdmin's upload... Storage Engines: InnoDB and MyISAM The two you will encounter.WHAT THEY AREThe mechanism a table uses to store and retrieve data.... Symptom: Cannot Log In to the Site Administration access lost.WHAT TO ESTABLISHIs the password wrong, or is the page failing?FOR A... Symptom: Error Establishing a Database Connection The site cannot reach its database.WHAT IT MEANSThe application cannot connect to the... Symptom: Files or Data Missing Something is gone.WHAT TO ESTABLISHWhat is missing, and when it was last seen Who has access What... Syncing a Database Between Environments Moving data safely in the right direction.THE SAFE DIRECTIONProduction to staging or local. This... Table doesn't exist A table is missing from the database.WHAT IT MEANSThe database exists and connects, but a table... Table is marked as crashed A table needs repair.WHAT IT MEANSThe table was left in an inconsistent state, usually by an... Transferring Databases Moving the data.EXPORTINGFrom phpMyAdmin on the old host, or a command-line export.Export as SQL,... Understanding and Adding Indexes The most effective database fix.WHAT AN INDEX ISA structure allowing the database to find... Understanding Collation Mismatches Why some joins fail or behave oddly.WHAT COLLATION ISThe rules for comparing and sorting text:... Undoing a Bad Query When you have just broken something.STOP IMMEDIATELYDo not run anything else. Further changes... Using phpMyAdmin Effectively The browser interface, used well.WHAT IT IS GOOD FORBrowsing data Running ad-hoc queries Small... Using phpMyAdmin to Manage Your Database phpMyAdmin is a browser interface for viewing and editing your databases directly.OPENING... Using the Command Line for Large Databases When phpMyAdmin is not enough.WHYphpMyAdmin runs inside a web request and is subject to time and... Using Transactions Grouping changes so they apply together.WHAT IT ISA set of changes treated as one unit. Either... Using WP-CLI for Database Work The command line tool for WordPress.WHAT IT ISA command-line interface to WordPress, available... Web Technology Terms The underlying pieces.HTMLThe markup describing a page's structure and content.CSSThe rules...
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot