Skip to content

sheepchens crapblog

projects and other stuff that might be helpfull for other

Menu
  • Kochen/Backen
  • Uncategorized
  • Linux
  • electronics
  • Network
  • mysql
  • wordpress

Category: wordpress

Reset password for wordpress-user

February 5, 2021December 14, 2022 sheepchenLeave a comment

If you have forgot your password for your wordpress-instance, but you have access to the database you can set a new password!

# mysql -u <database> -p
> use <database>
> SELECT ID, user_login, user_pass FROM wp_users;
> update wp_users set user_pass = MD5('yourPassword') where ID = <userid>;

source: [Link]

Updated: December 14, 2022
Categories: mysql, wordpressTags: linux

Fixing the Character Encoding in WordPress

April 26, 2020June 3, 2020 sheepchenLeave a comment

Open the wp-config.php or etc/wordpress/<site>.php file in a text editor such as notepad and fiddle around with this settings:

define('DB_CHARSET', 'utf8'); 
define('DB_COLLATE', '');
source: tipsandtricks-hq.com
Updated: June 3, 2020
Categories: wordpress

Recent Posts

  • Windows 11 micophone level keeps adjusting
  • gitlab ‘edit single file’ not working for files in subdirs (behind proxy)
  • Threads in bash 2
  • Programming ATtiny85 via Arduino ISP
  • Lemorele H5

Categories

  • electronics
  • Kochen/Backen
  • Linux
  • mysql
  • Network
  • programming
  • Uncategorized
  • windows
  • wordpress
Free dark wordpress theme