ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen
先执行一下
flush privileges;
在执行添加用户命令
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> grant all privileges on contentdb
.* to ‘user’@’%’ identified by ‘password’;
Query OK, 0 rows affected (0.00 sec)
如果报错如下信息:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
到/etc/yum.repo.s下面把packetxxxx.repo和redhat.repo两个文件删除掉,再启动