Jump to content
  • 0

How do I install mysql on cygwin?


Question

Posted (edited)

can someone tell me the correct way to install MySQL in cygwin?

The problem is that I'm using windows 32 bits and I need to compile the emulator in cygwin...

Note: I do not have installed the visual basic, because it takes up a lot of hard disk space...

 

Edited by OmarAcero

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

@Normynator  I needed to compiler.

@hendra814   Thanks Brother, I do not want to use visual occupies a lot of space.

I managed to solve the issue

1.- Add only the packages required for MYSQL

Spoiler

szspdXK.jpg

2.- Install MariaDB(Mysql) 

Spoiler

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

Edited by OmarAcero
  • 0
Posted
7 hours ago, OmarAcero said:

can someone tell me the correct way to install MySQL in cygwin?

The problem is that I'm using windows 32 bits and I need to compile the emulator in cygwin...

Note: I do not have installed the visual basic, because it takes up a lot of hard disk space...

 

Maybe you could use this method

https://rathena.org/board/topic/111269-guide-lightweight-compiler-for-windows-for-replacement-heavy-visual-studio-ide-compile-rathena-faster-save-your-bandwidth-and-disk-space/?page=0#comment-326230

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...