phpMyAdmin can change individual records, but direct edits bypass an application’s validation and business rules. Prefer the application’s own settings screen when it can perform the task correctly.
IN THIS ARTICLE
What you need before you begin
Export the affected table or database first. Identify the exact table, primary key and intended value from reliable application documentation. Never select a row merely because it is third in a list; display order is not a stable identifier.
01 Edit one database row safely in phpMyAdmin
- Select the correct database and table, then use Browse or Search to locate the record by a unique key.
- Confirm the surrounding values identify the intended record. Choose Edit for that row rather than a bulk action on the entire table.
- Change only the required field. Preserve NULL values, encodings and data types, and avoid applying a function unless the application specifically requires it.
- Save the change, then inspect the row again to confirm the exact result and number of affected records.
- Test the corresponding application function. If the application caches the setting, clear only the relevant supported cache after verifying the database value.
02 Example: locate a single intended record before editing
Suppose your application documentation identifies an account by primary key 42. In a test database with the fictional table and columns shown below, a read first would look like this. Replace the identifiers only after checking your real application schema.
SELECT id, display_name, status
FROM example_accounts
WHERE id = 42;
Confirm the one returned record matches the intended person or object and preserve its original values. If no row appears, verify the selected database and identifier. If the table has no stable unique key, stop and establish a reliable way to identify the record before using a row-edit action.
This SELECT changes nothing. Use the application interface where it can perform the actual update, especially for billing, passwords or structured data. If a supported direct edit is required, change only the documented field and verify the application behaviour afterwards.
Confirm the expected result
The intended record should contain the new value, and unrelated records should remain unchanged. Test the application’s behaviour, not only the phpMyAdmin success notice.
Can I edit serialized application values directly in phpMyAdmin?
Do not hand-edit serialized or structured application data without a tool that preserves its format. A changed string length can corrupt PHP-serialized values. If the result is wrong, restore the recorded original value or scoped backup before making further changes, especially on a live shop.