[tutorial] Installing MySQL 9.2.0 with Laragon & Changing the Password #1013
rfrkk
started this conversation in
Laragon's Articles & How-tos
Replies: 2 comments
-
Step 2: mysqld --initialize --user=mysql --datadir="C:\Users\user\laragon\data\mysql-9" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here’s the translated and simplified version of your notes on Installing MySQL 9.2.0 with Laragon & Changing the Password:
Installing MySQL 9.2.0 with Laragon & Changing the Password
Steps
Download MySQL
laragon\bin\mysql
directory.Modify the Configuration File
my.ini
file and comment out the following line:default_authentication_plugin=mysql_native_password
my.ini
file to read-only to prevent accidental changes.Start MySQL
Open Command Prompt
cmd
, and press Enter.Start MySQL in No Password Mode
Open Another Command Prompt
cmd
, and press Enter.Log into MySQL
Flush Privileges
Change the Root Password
new_password
with the password you want to set.Restart MySQL
Notes
laragon\data
directory and delete themysql-9
folder.my.ini
file has been modified as described above.Beta Was this translation helpful? Give feedback.
All reactions