Jump to content
  • 0
Sign in to follow this  
OmarAcero

How do I install mysql on cygwin?

Question

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

@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

Share this post


Link to post
Share on other sites
  • 0

why don't you use xampp for windows? would be the easiest way to get a mysql server up.

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.