Sergio Chan

Full Stack, Born hacker, Professional Manager

Crazy fan of Hackathons all around the world.
Founded Hackathon team hACKbUSTER.


  1. Ubuntu下重置MySQL的root密码

    sudo vi /etc/mysql/my.cnf,在[mysqld]段中加入一行“skip-grant-tables”具体环境中可能my.cnf已经存在且在其他目录,记得要找到有效的my.cnf配置文件路径 sudo service mysql restart,重启mySQL服务具体参考实际的重启MySQL的命令 sudo mysql -u root -p mysql,用空密码进入mysql管理命令行 (进入mysql,或者用use mysql指令) update user set pass …

    于  MySQL, Ubuntu 继续阅读