MySQL | Getting started
Inhaltsverzeichnis
Install
Server
brew install mysql
Prepare
Create Data Directory
mysqld --verbose --initialize --datadir .\data --basedir D:\CLOUD\Environments\MySQL\8.0.22
Start Server
mysqld --console --datadir .\data --basedir D:\CLOUD\Environments\MySQL\8.0.22
Create Adminuser with password
Change file D:\TMP\init_root.sql
with the following content
ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassword';
Run
mysqld --console --init-file D:\TMP\init_root.sql --datadir .\data --basedir D:\CLOUD\Environments\MySQL\8.0.22
Leave a Reply