Cygwin工具介绍

Cygwin is a Linux-like environment for Windows.

 

Cygwin就是在windows下模拟linux环境。

 

我一般使用它来管理和操作MySQL数据库。当然还能支持很多的功能,比如linux administration, oracle,phyton等。

 

cygwin对于windows95,98,Me的支持,在1.7版本中被取缔了。

 

It consists of two parts:
# A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
# A collection of tools which provide Linux look and feel.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.

Note that the official support for Windows 95, Windows 98, and Windows Me has been discontinued with the latest Cygwin major release 1.7.

 

 

登陆cygwin后,

 

$ cd c:/

会显示当前路径/cygdrive/c

 

$ cd c:/wamp/bin/mysql/mysql5.1.36/bin/

就找到了mysql.exe所在的文件夹

 

$ ./mysql -u charles -p

执行mysql.exe,并指定用户是charles,然后提示出入密码

 

输入密码后,进入mysql管理环境:

 

mysql>

 

之后可以做mysql数据的操作。

 

如:

 

mysql> show databases;

mysql> use dbtest;

mysql> desc tabletest;

等等。

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值