For every database, you should set the root or sa passwords to something other than the default, unless you want to get hacked. For mysql, the system administrator user is called root. You will use the mysqladmin utility from a command line to set the new password. Notice that there are two commands to be run.
mysqladmin -u root password “newpassword”
mysqladmin -u root -h host_name password “newpassword”
mysqladmin -u root password ws8dr8as3
mysqladmin -u root -h localhost password ws8dr8as3
You will also want to restart the database server after running this command
sudo /etc/init.d/mysql restart
- › How to Check Your Heart Rate and Breathing with Your Android Phone
- › Instagram Personal, Business, and Creator Accounts: What’s the Difference?
- › How to Add Attachments to Gmail by Pasting Files into Chrome
- › How to Quickly Search Open Tabs in Firefox
- › How to Quickly Set a Timer on Your iPhone or iPad