How to make Windows “forget” network share login
Sometimes in testing network settings and authentication ( for instance when setting up a Samba server and users on a CentOS, Ubuntu, or Feroda Linux system) I often find it useful to force my Windows PC client to “forget” the login username and password that it has on record, for the current session, so that I may login again with another username/password combo. Easily accomplished, this Windows trick works on all modern Microsoft operating systems.
The situation: You need to login again to a network share on a Windows file server, or a Linux server, without rebooting the client computer.
The fix: Disconnect from the shares using the NET command.
- Open a command prompt. (My favorite way is: Win-R, type cmd, press Enter)
- Type NET USE * /DELETE
- It will prompt you for verification, type Y and Enter.
That’s it! Enjoy, and may your login be forgotten!
Courtesy, Microsoft: http://support.microsoft.com/kb/308582
Posted under Microsoft, Network, Software, Windows
This post was written by Content Curator on February 2, 2010
MySQL login with command line (CLI)
# mysql -h hostname -u username -p
It will prompt you for the password.
Then:
> connect dbname
Posted under MySQL
This post was written by Content Curator on September 17, 2007