update/maj admin email wordpress

[simterm]

# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 12811
Server version: 10.1.44-MariaDB-0+deb9u1 Debian 9.11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MariaDB [(none)]> show databases;
+——————–+
| Database |
+——————–+
| information_schema |
| mysql |
| performance_schema |
| wp_database |
+——————–+
5 rows in set (0.00 sec)

MariaDB [(none)]> use wp_database;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed

 

MariaDB [wp_database]> select * from wp_users where ID = 1 ;
+—-+————+————————————+—————+—————————+—————————–+———————+———————+————-+————–+
| ID | user_login | user_pass | user_nicename | user_email | user_url | user_registered | user_activation_key | user_status | display_name |
+—-+————+————————————+—————+—————————+—————————–+———————+———————+————-+————–+
| 1 | admin | $P$Xxxxxxxxxx | admin | oldemail@gmail.com | https://blog.mondeunix.com/ | 2018-03-12 20:34:45 | | 0 | admin |
+—-+————+————————————+—————+—————————+—————————–+———————+———————+————-+————–+
1 row in set (0.00 sec)

MariaDB [wp_database]> update wp_users set user_email = ‘newemail@mondeunix.com’ where ID = 1 ;
Query OK, 1 row affected (0.07 sec)
Rows matched: 1 Changed: 1 Warnings: 0

MariaDB [wp_database]> select * from wp_users where ID = 1 ;
+—-+————+————————————+—————+————————-+—————————–+———————+———————+————-+————–+
| ID | user_login | user_pass | user_nicename | user_email | user_url | user_registered | user_activation_key | user_status | display_name |
+—-+————+————————————+—————+————————-+—————————–+———————+———————+————-+————–+
| 1 | admin | $P$Xxxxxxxxxxxxxxxxx | admin | newemail@mondeunix.com | https://blog.mondeunix.com/ | 2018-03-12 20:34:45 | | 0 | admin |
+—-+————+————————————+—————+————————-+—————————–+———————+———————+————-+————–+
1 row in set (0.00 sec)

MariaDB [wp_database]>

[/simterm]

Ajouter un Commentaire