Jump to content
  • 0

How do I install mysql on cygwin?


OmarAcero

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   1
  • Joined:  10/13/12
  • Last Seen:  

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
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1182
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   1
  • Joined:  10/13/12
  • Last Seen:  

@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
Link to comment
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.

×
×
  • Create New...