1.问题: MySQL从库中查看主从状态: show slave status\G,发现出现IO的报错: Last_IO_Errno: Last_IO_Error: Got fatal error from master when reading data from binary log: 'A slave with the same server_uuid/server_id as this slave has connected to the master; the first event…
1.MySQL用户管理 给远程登陆用户授权:grant all on *.* to 'user1'@'127.0.0.1' identified by '123456' (这里的127.0.0.1是指远程登陆的IP,即允许哪个IP登陆) 远程登陆的方式:mysql -h IP -u username -p 然后接着输入密码,就可以登陆了 用show grants; 命令,可以查看当前用户,所授权的大小:以及创建时的命令,可以复制后,再进行授权给其它用户 若要查看其它用户的授权,就需要用命令…