Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Add an Admin User to the WordPress Database via MySQL
ChannelWPBeginner - WordPress TutorialsDescription from the creator
Should you ever get hacked or have a issue with your database there are some things that are useful to know. One powerful tool is the ability to create a new admin user without logging in to your site. In this video, we will show you how to add an admin user to the WordPress database using MySQL.
If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.
Text version of this tutorial:
wpbeginner.com/wp-tutorials/how-to-add-an-admin…
Follow us on Twitter:
twitter.com/wpbeginner
Checkout our website for more WordPress Tutorials
wpbeginner.com/
Summary of this Tutorial:
Start by log gin in to your host’s cpanel
One you log in you will see databases, you may want to back them up before proceeding.
Open the wp_users table and click insert.
Fill in the information and use a md5 password.
With the information filled in click ‘Go’ and it will tell you how many rows were affected with a green check mark.
Next update the wp_usermeta by clicking insert.
Leave the unmeta_id blank
Fill the user_id with the id from before, meta_key will be wp_capabilities, and meta_value will be: a:1:{s:13:”administrator”;s:1:”1″;}
Then fill another row with unmeta_id blank and user_id the one from before.
meta_key will be wp_user_level and meta_value is 10.
Now you will have a new admin user on your site.
Related Links:
How to do a database backup
wpbeginner.com/beginners-guide/how-to-make-a-wo…
If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.
Text version of this tutorial:
wpbeginner.com/wp-tutorials/how-to-add-an-admin…
Follow us on Twitter:
twitter.com/wpbeginner
Checkout our website for more WordPress Tutorials
wpbeginner.com/
Summary of this Tutorial:
Start by log gin in to your host’s cpanel
One you log in you will see databases, you may want to back them up before proceeding.
Open the wp_users table and click insert.
Fill in the information and use a md5 password.
With the information filled in click ‘Go’ and it will tell you how many rows were affected with a green check mark.
Next update the wp_usermeta by clicking insert.
Leave the unmeta_id blank
Fill the user_id with the id from before, meta_key will be wp_capabilities, and meta_value will be: a:1:{s:13:”administrator”;s:1:”1″;}
Then fill another row with unmeta_id blank and user_id the one from before.
meta_key will be wp_user_level and meta_value is 10.
Now you will have a new admin user on your site.
Related Links:
How to do a database backup
wpbeginner.com/beginners-guide/how-to-make-a-wo…
About this tutorial
WPBeginner - WordPress Tutorials published this 1:37 video tutorial on October 26, 2014. It has been watched 89,829 times on YouTube.
- Category
- Science & Technology
- Duration
- 1:37
- Published
- October 26, 2014
- Views
- 89,829
- Likes
- 127
Tags
Share
This tutorial in other languages
- FRComment ajouter un utilisateur Admin à la base de données MySQL via WordPress
- ESCómo agregar un usuario administrador de la base de datos MySQL a través de WordPress
- PTComo adicionar um usuário administrador para o banco de dados WordPress via MySQL
- ITCome aggiungere un utente amministratore al database di WordPress tramite MySQL
- DEWie ein Admin-Benutzer auf die Wordpress-Datenbank über MySQL hinzufügen
- NLHoe kan ik een Admin Gebruiker toevoegen aan de WordPress Database via MySQL
- RUКак добавить администратора пользователя в базу данных WordPress с помощью MySQL
- PLJak dodać administratora użytkownika do bazy danych MySQL przez WordPress
- JAMySQLの経由でWordPressのデータベースに管理者ユーザーを追加する方法
- ARكيفية إضافة المستخدم المسؤول إلى قاعدة البيانات وورد عن طريق الخلية
- HIMySQL के माध्यम से वर्डप्रेस डाटाबेस के लिए एक व्यवस्थापक उपयोगकर्ता जोड़ने का तरीका
- IDBagaimana Tambahkan Pengguna Admin ke Database WordPress via MySQL