- go to https://dev.mysql.com/downloads/mysql/
- choose the version, os and type
- login and download it
Download the mysql database for windows https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.25-winx64.zip
Download the mysql database for windows https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.25-winx64.zip
With these steps you can start the latest version mysql database without the need to install the database, or the mysql workbench, wamp, xamp, or anything similar
ALTER USER 'root' @ 'localhost' IDENTIFIED BY 'changeme';
mysqld --initialize
mysqld --init-file=C:\mysql\data\root.txt --console
mysql-x-winx64\bin\mysqld.exe: ready for connections. Version: '8.0.25' socket: '' port: 3306 MySQL Community Server - GPL.
If there is an error related to an already used port, it is because another instance of mysql is already running. Enter services.msc and stop the mysql service or use the netstat command to locate the process that is using port 3306 and execute a kill
If there are no errors, you could connect to this mysql using the following parameters
host
port
user
password
You can use the dbeaver or sqlyog ide
It should be possible to create databases and tables normally