码迷,mamicode.com
首页 >  
搜索关键字:hdu1569find the safe    ( 1683个结果
MySQL重置密码(OSX)
1.停止MySQL的服务sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop2.cd /usr/local/mysql/bin./mysqld_safe --skip-grant-table3.新开个终端也是进入到mysql/bin目录./mysql -...
分类:数据库   时间:2015-04-05 20:11:27    阅读次数:142
八皇后
from?numpy?import?* def?safe(row,col,qipan): ????for?i?in?range(0,row): ????????if?qipan[i]?==?col?or?abs(qipan[i]?-?col)?==?abs(row?-?i): ????????????ret...
分类:其他好文   时间:2015-04-05 19:05:21    阅读次数:118
ERROR 1045 (28000): Access denied for user 'root'@'localhost' 的解决方法
系统:Centos6.564位Mysql:5.1.73今天想做个数据库测试实验,居然忘记了Mysql数据的密码。于是使用安全模式启用。[root@mail~]#servicemysqldstop#先停止数据库Stoppingmysqld:[OK][root@mail~]#mysqld_safe--skip-grant-tables&#利用安全模式启用数据库[1]1547[root@mail~..
分类:数据库   时间:2015-04-03 15:41:57    阅读次数:201
【转】Linux环境变量的设置和查看方法
1.使用env命令显示所有的环境变量 $ env HOSTNAME=redbooks.safe.org PVM_RSH=/usr/bin/rsh Shell=/bin/bash TERM=xterm HISTSIZE=1000 ...2.使用set命令显示所有本地定义的Shell变量 ...
分类:系统相关   时间:2015-04-02 22:16:05    阅读次数:205
php post数据丢失
from的enctype="multipart/form-data"php版本5.6.6问题:部分POST数据接收不到追源代码发现是php中max_input_vars配置造成的;相关函数为rfc1867_post_handler,如果超过长度,则不会调用safe_php_register_vari...
分类:Web程序   时间:2015-04-01 13:09:43    阅读次数:162
hdu1569find the safest road(floyd变形求最大安全值)
find the safest road Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7845    Accepted Submission(s): 2786 Problem Description XX星球有很多城...
分类:其他好文   时间:2015-03-21 01:11:55    阅读次数:152
mysql5.6初始密码位置 或者忘记密码
初始密码:mysql5.6初始密码文件位置:/root/.mysql_secret登陆mysql,修改修改密码:updateuserssetpassword=password(‘P@ssw0rd‘)whereuser=‘root‘;flushprivileges;忘记密码:#mysqld_safe--skip-grant-tables然后复制打开新的shell,mysql就可以无密码登陆,之后修改密码..
分类:数据库   时间:2015-03-19 11:44:13    阅读次数:200
C++11 Concurrency Features
Concept Header Summary Threads Standard, low-level, type-safe; Futures Via async function, hides threading; Locks Standard, low-level locking pr...
分类:编程语言   时间:2015-03-18 21:44:58    阅读次数:192
SolrServer SolrRequest
solrServer实现类HttpSolrServerHttpSolrServer uses the Apache Commons HTTPClient to connect to solr.HttpSolrServer is thread-safe and if you are using the...
分类:其他好文   时间:2015-03-18 15:25:29    阅读次数:234
mysql的账户失效,之前的密码无法登录
引用自:http://blog.sina.com.cn/s/blog_682c287b0100ofz8.html此为linux服务器下的做法方法一:1.关闭mysql # service mysqld stop2.屏蔽权限 # mysqld_safe --skip-grant-table 屏幕出现:...
分类:数据库   时间:2015-03-17 15:46:52    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!