Grab the zip file from https://dev.mysql.com/downloads/mysql/ and unzip
Add the mysql bin folder into your PATH
mysqld --initialize-insecure --console
see https://dev.mysql.com/doc/refman/8.0/en/option-files.html if you need override the default config.
mysqld --install (Run as Admin)
net start MySQL
mysql -u root to login without password
mysql>set password='rootpassword';
mysql>create user 'dev'@'localhost' identified by 'somepassword';
mysql>grant all privileges on *.* to 'dev'@'localhost';
mysql>FLUSH PRIVILEGES;
Comments
Post a Comment