Sometimes you need to change a value directly in the database, for example a site title, URL or a locked-out user. phpMyAdmin lets you edit rows safely.
1. Log in to your cPanel account.
2. In the Databases section, click on phpMyAdmin.![]()
3. Click on the Expand icon from the navigation tree in the left sidebar.
4. Select the appropriate table you want to edit. If you wish to change the blog name of WordPress, then select “wp-options”.
5. Click on Edit in the third row.
6. Modify the text value and then click on Go.
By doing that, you can change the value of SQL data of any software without accessing the administration area. For example, if you can’t change the theme from the administration area, you can use this method to change the value of SQL data.
Back up before you edit
Export your database first. A wrong change can break your website, so edit only the row you need.
Find the right table
For WordPress, site settings are usually in the options table and users in the users table. The table prefix may differ from wp_.
Frequently asked questions
Can I break my site by editing the database? Yes, if you change the wrong values. Always keep a backup.
Which table holds the WordPress site URL? The options table, in rows named siteurl and home.
Related guides
Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.
Found this useful? Share it.
