Created
June 23, 2020 15:40
-
-
Save arjunkori/18ef107d08fec5adafeff0e0a905039a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
yum install mysql-server | |
chkconfig mysqld on | |
service mysqld start | |
Update password on your local MySQL server if you want, | |
mysqladmin -u root password [your_new_pwd] | |
mysql -uroot -p | |
type new pwd | |
Troubleshooting | |
mysql> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass'; | |
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' | |
-> WITH GRANT OPTION; | |
mysql> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass'; | |
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%' | |
-> WITH GRANT OPTION; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment