How do I install mysql in cygwin?

I managed to solve the issue

1.- Add only the packages required for MYSQL

szspdXK.jpg
2.- Install MariaDB(Mysql) 

Set up MariaDB (MySQL)

Note that this actually sets up MariaDB which is named mysql in Cygwin.

from the Administrator terminal run:

mysql_install_db

Start the mysql server:

mysqld_safe &

then run:

mysql_secure_installation

You should then be able to log in to MariaDB from a non-administrative shell with:

mysql -u root -p

Install the MariaDB service

First stop any running instance (run in an admin shell):

mysqladmin.exe -u root -p shutdown

Then install the service:

cygrunsrv.exe -I mysqld -d "Cygwin MariaDB server" -p /usr/bin/mysqld_safe

You can start it with:

cygrunsrv -S mysql
3.- Now I can compile the emulator in SQL
4.- For the requirements and Packages follow the guide of Debian HERE

 
Last edited by a moderator:
Back
Top