摘要: mysql> ALTER USER 'gao'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; 修改用户密码 阅读全文
posted @ 2018-10-29 16:50 香蕉都驼背 阅读(109) 评论(0) 推荐(0) 编辑
摘要: >>>cur.execute("update users set username=%s where id=2",("mypython")) >>>cur.execute("select * from users where id=2") >>>cur.fetchone() >>>conn.comm 阅读全文
posted @ 2018-10-29 00:00 香蕉都驼背 阅读(3869) 评论(0) 推荐(0) 编辑