- 博客(3)
- 收藏
- 关注
原创 lua 协程 简单的生产者和消费者
function Sleep(n) if n > 0 then os.execute("ping -n " .. tonumber(n + 1) .. " localhost > NUL") endendproduct = coroutine.wrap(function(a) while a>0 do local ret = 0 if a >100 then ret = consumer(a) else local num = getRando..
2020-09-24 15:37:27 232
原创 修改数据库的root密码
1、先登录数据库 mysql -uroot -p 输入原始密码 root2、use mysql 或者直接使用域 修改user表中的root用户的密码,命令如下:update mysql.user set authentication_string=password('qwe123~') where user='root' and Host = 'localhost';
2017-05-09 16:33:46 162
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人