文章列表
-- 设置mysql字符集
set character_set_client=utf8;
set character_set_connection=utf8;
set character_set_database=utf8;
set character_set_results=utf8;
set character_set_server=utf8;
set character_set_system=utf8;
set collation_connection=utf8;
set collation_database=utf8;
set collation_server= ...
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
此命令可以不再在移动设备中生成.DS_STORE
准备工作:
1、下载MongoDB http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip
2、将MongoDB解压缩到任意目录,如:D:\mongo_db,在该目录下新建data、logs目录用来存放数据库文件以及运行时产生的日志文件
3、注册windows服务,打开cmd,输入
cd D:\mongo_db\bin
> D:\mongo_db\bin>mongod --dbpath "D:\mongo_db\data" --logpath "D:\mongo_ ...
1·停止mysql服务
2·命令行输入
mysqld --skip-grant-tables(跳过权限检查启动mysql服务)
3·命令行输入
update MySQL.user set password=PASSWORD('新密码') where User='root';
flush privileges;
quit
4·重新启动mysql服务