Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Windows\system32>cd D:
D:\

C:\Windows\system32>D:

D:\>cd mysql_5.6.24_winx6420151123

D:\mysql_5.6.24_winx6420151123>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123 的目录

2015-11-23 17:10 <DIR> .
2015-11-23 17:10 <DIR> ..
2015-11-23 17:19 <DIR> mysql-5.6.24-winx64
2015-11-23 17:00 366,063,432 mysql_5.6.24_winx64.zip
1 个文件 366,063,432 字节
3 个目录 8,415,944,704 可用字节

D:\mysql_5.6.24_winx6420151123>cd bin
系统找不到指定的路径。

D:\mysql_5.6.24_winx6420151123>..
'..' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\mysql_5.6.24_winx6420151123>cd ..

D:\>cd mysql_5.6.24_winx6420151123

D:\mysql_5.6.24_winx6420151123>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123 的目录

2015-11-23 17:10 <DIR> .
2015-11-23 17:10 <DIR> ..
2015-11-23 17:19 <DIR> mysql-5.6.24-winx64
2015-11-23 17:00 366,063,432 mysql_5.6.24_winx64.zip
1 个文件 366,063,432 字节
3 个目录 8,415,866,880 可用字节

D:\mysql_5.6.24_winx6420151123>cd mysql-5.6.24-winx64

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64 的目录

2015-11-23 17:19 <DIR> .
2015-11-23 17:19 <DIR> ..
2015-11-23 17:11 <DIR> bin
2015-03-25 17:34 17,987 COPYING
2015-11-23 17:11 <DIR> data
2015-11-23 17:11 <DIR> docs
2015-11-23 17:11 <DIR> include
2015-11-23 17:17 <DIR> lib
2015-03-25 18:02 1,141 my-default.ini
2015-11-23 17:19 <DIR> mysql-test
2015-03-25 17:34 2,496 README
2015-11-23 17:19 <DIR> scripts
2015-11-23 17:19 <DIR> share
2015-11-23 17:19 <DIR> sql-bench
3 个文件 21,624 字节
11 个目录 8,415,932,416 可用字节

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64>cd bin

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin 的目录

2015-11-23 17:11 <DIR> .
2015-11-23 17:11 <DIR> ..
2015-03-25 18:06 134,656 echo.exe
2015-03-25 18:06 936,960 echo.pdb
2015-03-25 18:07 4,064,256 innochecksum.exe
2015-03-25 18:07 3,075,072 innochecksum.pdb
2015-03-25 18:09 4,519,424 myisamchk.exe
2015-03-25 18:09 4,180,992 myisamchk.pdb
2015-03-25 18:09 4,302,336 myisamlog.exe
2015-03-25 18:09 3,640,320 myisamlog.pdb
2015-03-25 18:09 4,427,776 myisampack.exe
2015-03-25 18:09 4,041,728 myisampack.pdb
2015-03-25 18:09 4,395,520 myisam_ftdump.exe
2015-03-25 18:09 3,951,616 myisam_ftdump.pdb
2015-03-25 18:09 4,859,392 mysql.exe
2015-03-25 18:09 5,819,392 mysql.pdb
2015-03-25 18:09 4,748,288 mysqladmin.exe
2015-03-25 18:09 5,598,208 mysqladmin.pdb
2015-03-25 18:09 4,917,248 mysqlbinlog.exe
2015-03-25 18:09 6,188,032 mysqlbinlog.pdb
2015-03-25 18:09 4,742,144 mysqlcheck.exe
2015-03-25 18:09 5,557,248 mysqlcheck.pdb
2015-03-25 18:05 33,272,320 mysqld-debug.exe
2015-03-25 18:05 35,539,968 mysqld-debug.pdb
2015-03-25 18:11 13,052,928 mysqld.exe
2015-03-25 18:11 33,795,072 mysqld.pdb
2015-03-25 18:09 4,816,384 mysqldump.exe
2015-03-25 18:09 5,712,896 mysqldump.pdb
2015-03-25 18:02 7,635 mysqldumpslow.pl
2015-03-25 18:02 27,732 mysqld_multi.pl
2015-03-25 18:02 36,098 mysqlhotcopy.pl
2015-03-25 18:08 4,736,000 mysqlimport.exe
2015-03-25 18:08 5,565,440 mysqlimport.pdb
2015-03-25 18:08 4,736,000 mysqlshow.exe
2015-03-25 18:08 5,540,864 mysqlshow.pdb
2015-03-25 18:08 4,762,112 mysqlslap.exe
2015-03-25 18:08 5,663,744 mysqlslap.pdb
2015-03-25 18:08 5,042,688 mysqltest.exe
2015-03-25 18:08 6,302,720 mysqltest.pdb
2015-03-25 18:11 14,016,000 mysqltest_embedded.exe
2015-03-25 18:11 31,632,384 mysqltest_embedded.pdb
2015-03-25 18:09 5,234,688 mysql_client_test.exe
2015-03-25 18:11 14,265,344 mysql_client_test_embedded.exe
2015-03-25 18:11 31,607,808 mysql_client_test_embedded.pdb
2015-03-25 18:02 9,079 mysql_config.pl
2015-03-25 18:09 4,534,272 mysql_config_editor.exe
2015-03-25 18:09 4,983,808 mysql_config_editor.pdb
2015-03-25 18:02 4,504 mysql_convert_table_format.pl
2015-03-25 18:11 13,870,080 mysql_embedded.exe
2015-03-25 18:11 31,304,704 mysql_embedded.pdb
2015-03-25 18:09 4,074,496 mysql_plugin.exe
2015-03-25 18:09 3,091,456 mysql_plugin.pdb
2015-03-25 18:02 10,518 mysql_secure_installation.pl
2015-03-25 18:07 3,951,104 mysql_tzinfo_to_sql.exe
2015-03-25 18:07 2,690,048 mysql_tzinfo_to_sql.pdb
2015-03-25 18:09 4,224,000 mysql_upgrade.exe
2015-03-25 18:09 3,189,760 mysql_upgrade.pdb
2015-03-25 18:07 4,055,552 my_print_defaults.exe
2015-03-25 18:07 2,993,152 my_print_defaults.pdb
2015-03-25 18:08 4,189,696 perror.exe
2015-03-25 18:08 3,189,760 perror.pdb
2015-03-25 18:07 3,966,464 replace.exe
2015-03-25 18:07 2,747,392 replace.pdb
2015-03-25 18:07 4,054,016 resolveip.exe
2015-03-25 18:07 2,993,152 resolveip.pdb
63 个文件 453,594,446 字节
2 个目录 8,415,866,880 可用字节

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>mysqld -install
Service successfully installed.

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>



Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>net start mysql
MySQL 服务正在启动 ..
MySQL 服务已经启动成功。

C:\Users\Administrator>mysql -u root -p
'mysql' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\Administrator>mysql -u root -p
'mysql' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\Administrator>D:

D:\>cd mysql_5.6.24_winx6420151123

D:\mysql_5.6.24_winx6420151123>cd mysql-5.6.24-winx64

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64 的目录

2015-11-23 17:19 <DIR> .
2015-11-23 17:19 <DIR> ..
2015-11-23 17:11 <DIR> bin
2015-03-25 17:34 17,987 COPYING
2015-11-24 19:26 <DIR> data
2015-11-23 17:11 <DIR> docs
2015-11-23 17:11 <DIR> include
2015-11-23 17:17 <DIR> lib
2015-03-25 18:02 1,141 my-default.ini
2015-11-23 17:19 <DIR> mysql-test
2015-03-25 17:34 2,496 README
2015-11-23 17:19 <DIR> scripts
2015-11-23 17:19 <DIR> share
2015-11-23 17:19 <DIR> sql-bench
3 个文件 21,624 字节
11 个目录 8,415,244,288 可用字节

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64>cd bin

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>dir
驱动器 D 中的卷是 SoftWare
卷的序列号是 0001-F4BC

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin 的目录

2015-11-23 17:11 <DIR> .
2015-11-23 17:11 <DIR> ..
2015-03-25 18:06 134,656 echo.exe
2015-03-25 18:06 936,960 echo.pdb
2015-03-25 18:07 4,064,256 innochecksum.exe
2015-03-25 18:07 3,075,072 innochecksum.pdb
2015-03-25 18:09 4,519,424 myisamchk.exe
2015-03-25 18:09 4,180,992 myisamchk.pdb
2015-03-25 18:09 4,302,336 myisamlog.exe
2015-03-25 18:09 3,640,320 myisamlog.pdb
2015-03-25 18:09 4,427,776 myisampack.exe
2015-03-25 18:09 4,041,728 myisampack.pdb
2015-03-25 18:09 4,395,520 myisam_ftdump.exe
2015-03-25 18:09 3,951,616 myisam_ftdump.pdb
2015-03-25 18:09 4,859,392 mysql.exe
2015-03-25 18:09 5,819,392 mysql.pdb
2015-03-25 18:09 4,748,288 mysqladmin.exe
2015-03-25 18:09 5,598,208 mysqladmin.pdb
2015-03-25 18:09 4,917,248 mysqlbinlog.exe
2015-03-25 18:09 6,188,032 mysqlbinlog.pdb
2015-03-25 18:09 4,742,144 mysqlcheck.exe
2015-03-25 18:09 5,557,248 mysqlcheck.pdb
2015-03-25 18:05 33,272,320 mysqld-debug.exe
2015-03-25 18:05 35,539,968 mysqld-debug.pdb
2015-03-25 18:11 13,052,928 mysqld.exe
2015-03-25 18:11 33,795,072 mysqld.pdb
2015-03-25 18:09 4,816,384 mysqldump.exe
2015-03-25 18:09 5,712,896 mysqldump.pdb
2015-03-25 18:02 7,635 mysqldumpslow.pl
2015-03-25 18:02 27,732 mysqld_multi.pl
2015-03-25 18:02 36,098 mysqlhotcopy.pl
2015-03-25 18:08 4,736,000 mysqlimport.exe
2015-03-25 18:08 5,565,440 mysqlimport.pdb
2015-03-25 18:08 4,736,000 mysqlshow.exe
2015-03-25 18:08 5,540,864 mysqlshow.pdb
2015-03-25 18:08 4,762,112 mysqlslap.exe
2015-03-25 18:08 5,663,744 mysqlslap.pdb
2015-03-25 18:08 5,042,688 mysqltest.exe
2015-03-25 18:08 6,302,720 mysqltest.pdb
2015-03-25 18:11 14,016,000 mysqltest_embedded.exe
2015-03-25 18:11 31,632,384 mysqltest_embedded.pdb
2015-03-25 18:09 5,234,688 mysql_client_test.exe
2015-03-25 18:11 14,265,344 mysql_client_test_embedded.exe
2015-03-25 18:11 31,607,808 mysql_client_test_embedded.pdb
2015-03-25 18:02 9,079 mysql_config.pl
2015-03-25 18:09 4,534,272 mysql_config_editor.exe
2015-03-25 18:09 4,983,808 mysql_config_editor.pdb
2015-03-25 18:02 4,504 mysql_convert_table_format.pl
2015-03-25 18:11 13,870,080 mysql_embedded.exe
2015-03-25 18:11 31,304,704 mysql_embedded.pdb
2015-03-25 18:09 4,074,496 mysql_plugin.exe
2015-03-25 18:09 3,091,456 mysql_plugin.pdb
2015-03-25 18:02 10,518 mysql_secure_installation.pl
2015-03-25 18:07 3,951,104 mysql_tzinfo_to_sql.exe
2015-03-25 18:07 2,690,048 mysql_tzinfo_to_sql.pdb
2015-03-25 18:09 4,224,000 mysql_upgrade.exe
2015-03-25 18:09 3,189,760 mysql_upgrade.pdb
2015-03-25 18:07 4,055,552 my_print_defaults.exe
2015-03-25 18:07 2,993,152 my_print_defaults.pdb
2015-03-25 18:08 4,189,696 perror.exe
2015-03-25 18:08 3,189,760 perror.pdb
2015-03-25 18:07 3,966,464 replace.exe
2015-03-25 18:07 2,747,392 replace.pdb
2015-03-25 18:07 4,054,016 resolveip.exe
2015-03-25 18:07 2,993,152 resolveip.pdb
63 个文件 453,594,446 字节
2 个目录 8,415,244,288 可用字节

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.6.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2015, 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
owners.

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

mysql> insert into mysql.user(Host,User,Password) values("localhost","nixinsheng",password
("123"));
Query OK, 1 row affected, 3 warnings (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>mysql -u nixinsheng -p
Enter password: ***
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2015, 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
owners.

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

mysql> exit
Bye

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.6.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2015, 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
owners.

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

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('123');
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

D:\mysql_5.6.24_winx6420151123\mysql-5.6.24-winx64\bin>mysql -u root -p
Enter password: ***
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.6.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2015, 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
owners.

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

mysql>

个人mysql配置命令的更多相关文章

  1. mysql配置命令 CHARACTER_SET_%字符集设置

    参照: http://blog.csdn.net/mzlqh/article/details/7621307点击打开链接 其实现在的ubuntu12. 直接sudo apt-get install M ...

  2. 【Linux命令】数据库mysql配置命令

    # 检查MySQL服务器系统进程 ~ ps -aux|grep mysql mysql 1103 0.0 0.3 492648 51780 ? Ssl 14:04 0:21 /usr/sbin/mys ...

  3. MySQL 事务配置命令行操作和持久化

    MySQL 事务配置命令行操作和持久化 参考 MySQL 官方参考手册 提供 5.5 5.6 5.7 8.0 版本的参考手册 https://dev.mysql.com/doc/refman/5.5/ ...

  4. linux下安装apache与php;Apache+PHP+MySQL配置攻略

    1.apache   在如下页面下载apache的for Linux 的源码包    http://www.apache.org/dist/httpd/;   存至/home/xx目录,xx是自建文件 ...

  5. MySQL常用命令和常见问题

    MySQL常用命令和常见问题 --创建数据库并设置字符集 create database wip default character set utf8 collate utf8_general_ci; ...

  6. 烂泥:mysql帮助命令使用说明

    本文由秀依林枫提供友情赞助,首发于烂泥行天下. 在安装.管理和使用mysql过程中,你是不是需要记忆很多的mysql命令.而且对于新手来说,很不多的命令不知道该如何应用,对于老手来说很多命令时间长了忘 ...

  7. mysql配置mysql-proxy读写分离

    MySQL配置读写分离 192.168.23.131与192.168.23.132两台服务器,131是主,132是从,131是读写,132是只读.myql-proxy的IP是192.168.23.13 ...

  8. mysql配置之skip-external-locking

    转载:http://www.kuqin.com/database/20120815/328905.html MySQL的配置文件my.cnf中默认存在一行skip-external-locking的参 ...

  9. Mysql常用命令行大全

    第一招.mysql服务的启动和停止 net stop mysql net start mysql 第二招.登陆mysql 语法如下: mysql -u用户名 -p用户密码 键入命令mysql -uro ...

随机推荐

  1. Node.mysql

    mysql为常用数据库,下面简单记录在nodejs中操作mysql数据库的简单实现. 环境: nodejs4.2.2 mysql5.7.12 win7 参考资料: npm mysql 代码 var m ...

  2. 面试之get和post(转)

    总结1 表单提交中get和post方式的区别归纳如下几点: GET是从服务器上获取数据,POST是向服务器传送数据,GET 请求一般不应产生副作用.就是说,它仅仅是获取资源信息,就像数据库查询一样,不 ...

  3. jQuery的AJAX方法简介及与其他文件$符号冲突的解决办法

    一.重要的jQuery AJAX方法简介 $.load(url) 从服务器载入数据 $.get(url,callback) 从服务器请求数据,并执行回调函数 $.post(url,data,callb ...

  4. cocos2d-x学习资源汇总(持续更新。。。)

    引用地址:http://www.cnblogs.com/zilongshanren/archive/2012/02/17/2356516.html 我之前一直学习c++的,第一次接触cocos2d是o ...

  5. Python之路:Python简介

    Python前世今生 python的创始人为吉多·范罗苏姆(Guido van Rossum).1989年的圣诞节期间他为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语言的一种继承 ...

  6. 华为GVRP理解

    类似于CISCO的VTP 在大型的网络中,华为交换机之间的串联是很普遍的.一般交换机互联端口都是配置成Trunk,即允许透传多个VLAN的.对于用户来说,手工配置太麻烦.一个规模比较大的网络可能包含多 ...

  7. (Problem 29)Distinct powers

    Consider all integer combinations ofabfor 2a5 and 2b5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, ...

  8. china-pub

    #!/usr/bin/env python                         #coding:utf-8import urllib2,re,sys,os,types            ...

  9. 用JLabel显示时间-- JAVA初学者遇到的一个困难

    问题:用一个JLabe,显示秒数,每过一秒数字自动减少1 问题看似很简单,但对初学JAVA的我来说,还真费了一点劲. 首先是如何即时,可以采用线程的方法: try { Thread.sleep(100 ...

  10. JFreeChart画折线图

    请见Github博客: http://wuxichen.github.io/Myblog/htmlcss/2014/09/01/JFreechartLinechart.html