
mysql
H-Sei
star
展开
-
mysql update delete 安全模式
在使用mysql执行update的时候,如果不是用主键当where语句,会报如下错误,使用主键用于where语句中正常。异常内容:Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable原创 2016-04-14 15:32:05 · 1609 阅读 · 0 评论 -
mysql 修改账户密码
方法1: 用SET PASSWORD命令 mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');方法2:用mysqladmin mysqladmin -u root password "newpass" 如果root已经设置过密码,采用如下原创 2016-05-05 16:59:40 · 299 阅读 · 0 评论 -
centos7 LAMP 加装 phpmyadmin (mariadb)
centos7 安装 phpmyadmin原创 2016-10-06 22:26:23 · 422 阅读 · 0 评论