Skip to content

Instantly share code, notes, and snippets.

@lamngockhuong
lamngockhuong / how-to-set-phpmyadmin-password-on-xampp.md
Last active December 29, 2024 23:36
[How to set phpmyadmin password on xampp] #phpmyadmin #xampp
  1. Goto "phpmyadmin" folder, find and open "config.inc.php" file
  2. Find the line: $cfg [‘Servers’] [$a] [‘auth_type’] = ‘config’; in “config.inc.php” file.
  3. Change the word $cfg [‘Servers’] [$a] [‘auth_type’] = ‘config’; to $cfg [‘Servers’] [$a] [‘auth_type’] = ‘cookie’; in “config.inc.php” file and Save the changes.
  4. Now open browser and type “localhost/phpmyadmin”. Enter username is “root“. password is null means empty. you don’t type anything leave blank and press GO button.
  5. Now you can see “change password” link. please click that link.
  6. Set your phpMyAdmin password and retype again and press GO button.

@fokayx
fokayx / git_remote_set-url.md
Last active March 1, 2025 01:27
Git switch remote URLs. Git 更換遠端伺服器倉庫網址

Git 更換遠端伺服器倉庫網址URL

1.確認目前Git遠端伺服器網址: git remote -v

git remote -v
origin  https://github.com/USERNAME/REPOSITORY.git (fetch)
origin  https://github.com/USERNAME/REPOSITORY.git (push)

2.更換Git遠端伺服器位網址,使用:git remote set-url