This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Set Root Password | |
mysqladmin -u root password <YOURNEWPASSWORD> | |
-- Set / Change MySQL Users Passwords from the Linux Shell | |
mysqladmin -u <username >-h <host> -p password <newpassword> | |
-- How To Connect to MySQL | |
mysql -ur <username> -p | |
mysql -h <hostname> -u <username> -p |