In the $wpdb->prefix_usermeta table, there is a meta key called $wpdb->prefix_capabilities.
When users are created, the $prefix is hard-coded. You have to also edit the $prefix to the new one there.
So in your example
wp_capabilties becomes stx_capabilities. You must update it for all users.
Related Posts:
- MySQL Database User: Which Privileges are needed?
- Can’t update database after wordpress update from 3.8.1 to 4.4.1
- Where is custom template file chosen for a post stored in the DB?
- Add search Value to wp_list_table pagination
- Why are no posts showing despite my apparently correct DB restoration?
- SQL Query to Update Admin Email
- Two websites one database, administrator not working on second website
- Use mulitple usernames?
- Retrieve data from the database to table such as comments in the admin control panel
- Unable to Access WP Admin or Login buttons after Migration
- Is my way to change WordPress server is correct?
- Custom Post Type not showing anything added by code anymore?
- Wp-Admin FTPS Connection Error unlike Filezilla
- WordPress has been updated! Before we send you on your way, we have to update your database to the newest version
- WordPress site migration – locked out of admin area
- Editing the term_order field
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- WordPress users table missing indexes
- WordPress Migration – Issue with admin panel changes
- WordPress URL error for links
- Migrate not successful, DB is broken. How to fix, or at least output static HTML without plugins?
- Correct permissions for SQLite database
- How to change the publishing date of each posts?
- MySQL Database User: Which Privileges are needed?
- Recover Same WordPress Admin Password
- cannot access wp-admin after options table crash and repair
- Database Queries are crashing the server
- How to protect my credentials on my clients website
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- How to remove admin menu pages inserted by plugins?
- Solution for database version control and deployment?
- How to Change the Default Home Page for the WordPress Dashboard?
- WordPress Database lost auto increment
- Count & Display Database Queries
- 3.3: How do you hide the new dashboard welcome panel?
- Slow wp_term_relationships query
- How to use “TRUNCATE TABLE” MySQL statement?
- Meta query interfering with orderby relevance
- Pagination Error on Admin (You do not have sufficient permissions)
- Strange Deadlock database error for the query “Delete From wp_options”
- WooCommerce – Query for ordered products
- PHP variable in WordPress database query
- Differences between add_post_meta and update_post_meta
- WordPress User Roles, Custom Post Types, and Admin views
- Is a direct or import approach safer for migration into WordPress?
- How can I restrict a user to a specific item in the WordPress Admin? [closed]
- How to disable automatic excerpt generation *in admin*?
- Select Multiple meta_value from WP DB; Single Query
- One post carries 30 postmeta values, is this too much?
- Associating custom submenu item with post type of top level menu item
- Is it possible to split database tables using HyperDB?
- What happens if I overwrite the current wp_options table with a backup from a week ago?
- Critical error in final stage of website launch – URLs are BROKEN!
- How do I get WordPress login to ignore the password input if a particular username is used?
- Migrating WordPress from DreamHost to Azure WordPress Resource via UpdraftPlus “wp_options table does not exist…” error
- Taxonomies image
- How to Mirror WordPress database from Remote server to Local server
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- WordPress is not creating table in database after activating plugin,
- How do I delete these post types in my WordPress database?
- How do I query wp_options for expired transient pairs with MySQL commands?
- data (html) migration to posts
- Change options table prefix only
- What’s the proper way to sanitize checkbox value sent to the database
- Problems with moving my WordPress site to another domain/server
- Is it important to have integers inserted using %d rather than %s?
- Export a custom Mysql database product catalog to WordPress
- Any risk to changing WP table col CHARACTER_MAXIMUM_LENGTH?
- Trouble running $wpdb->query() with last_insert_id
- Using $wpdb | checking entered email against existing emails in db
- wp-cli: Error establishing a database connection: undefined constant DB_USER
- Can I customised default WP table
- Woocommerce – Check product stock availability from external database
- Get results from wordpress data custom table
- Outputting query results
- Help With a Large WordPress Based MySQL Database on Shared Hosting
- Having problem creating local instance of wordpress site
- Database migration issues – Error #1046 No database selected
- Search Character Set Problem
- Custom user tables not working after migration
- How to get the full stack trace for WordPress “table doesn’t exist” error in debug.log?
- How to fix Uploaded to this post option to see group of images uploaded to a post?
- How to access a table in a wordpress database using REST API?
- User saved through WordPress backend does not show up in database table users
- When installing wordpress through WP CLI mysite.com/admin not working
- Missing latest posts and options after DB migration via phpMyAdmin
- get_the_terms is not working
- Restoring .sql backup results in “Error establishing a database connection”
- Link to handle $_GET request
- WordPress sync with phpbb
- Group Pages based on Parent in Admin Area
- “MySQL server has gone away” since update to 3.8
- How to remove menu from WP-Admin menu
- Getting deleted users in database
- plugin to upload to youtube via wordpress [closed]
- Options of accessing wordpress data from mobile app
- My Account Lost Administrator permission
- Getting data from a table using a query
- Database interaction (private-public) [closed]
- SQL Query to get post_id from wp_posts and and meta_key(s) from wp_postmeta