Cygwin Mysql

Cygwin MySql

  1. Install mysql via usual setup-x86_64.exe
  2. As administrator run ** mysql_install_db
  3. in **/home/birca create file my.ini
  4. To start mysqld daemon run /usr/bin/mysqld_safe &

Runs on port 3306:

netstat -a -n -o | grep 3306

File my.ini:




should produce:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.5.41 Source distribution

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

$ grep mysql ~/.bashrc
alias mysql_start="/usr/bin/mysqld_safe &"
alias mysql_stop="mysqladmin.exe -h -u root shutdown"
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License