424
3. Log in as a user, or register, or, if you want, you can skip this step.
4. Download the version without the installer. (The
latest version
when we downloaded was mysql-8.0.27-winx64.zip; it had
a dimension of 209 MB.) This package contains the MySQL
database server.
5. Extract the zip file into your root folder drive. Rename the folder
from mysql-8.0.27- winx64 to mysql.
6. Create the “data” folder. I
chose in the same mysql folder, even if
we recommend always placing the data folder on another drive.
This prevents loss of data and allows easy reinstallation.
7. Initialize the data directory manually before MySQL can be
started. Open a command window and type the following under
the bin folder.
C:\mysql\bin>mysqld
--console --initialize
The --console option enables writing the diagnostic output to
console (if you omit this option, the server writes output to the
error log in the data folder).
Listing
12-1
is the result shown on the console.
Do'stlaringiz bilan baham: