[tutorial] Installing MySQL 9.2.0 with Laragon & Changing the Password #1013
rfrkk
started this conversation in
Laragon's Articles & How-tos
Replies: 3 comments 1 reply
-
Step 2: mysqld --initialize --user=mysql --datadir="C:\Users\user\laragon\data\mysql-9" |
Beta Was this translation helpful? Give feedback.
0 replies
-
It doesn't work with version 6. In step 3, the screen shows 'Initializing' and not moving anymore. Can anyone help? Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
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: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