ERROR 1290 (HY000)

mysql> grant all on cactidb.* to [email protected]‘localhost‘ identified by ‘123‘;

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

解决措施:

mysql> flush privileges;

Query OK, 0 rows affected (0.01 sec)

mysql> grant all on cactidb.* to [email protected]‘localhost‘ identified by ‘123‘;

Query OK, 0 rows affected (0.00 sec)

时间: 2024-08-02 17:44:03

ERROR 1290 (HY000)的相关文章

mysql ERROR 1290 (HY000):

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe 在Mysql集群中创建用户时.出现如下错误! mysql> create user 'testuse'@'localhost' identified by '111111';ERROR 1290 (HY000): The MySQL server is running with the --ski

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statemen

转自:http://www.cnblogs.com/iosdev/archive/2013/07/15/3190431.html mysql 配置文件目录:/etc/my.cnf root 密码为空的时候配置文件中下面这句: skip-grant-tables GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY '123' WITH GRANT OPTION; 执行这句时候错误: ERROR 1290 (HY000): The MySQL server is

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe

在Mysql集群中创建用户时.出现如下错误! mysql> create user 'testuse'@'localhost' identified by '111111'; ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 解决办法: 在命令行输入:mysql> flush privileges;

mysql 导出数据到文件数据异常 ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 首先输入下面下面命令查看 show global variables like '%secure%'; 查询secure_file_priv 我的当时为null所以要修改: 修改方法:

ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

今天在学习MySQL时候,想要将文本文件的数据导入到数据库中,却发现一直报错,换了导入文本的路径也还是同样的错误,错误显示ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement. 然后在网上找解决办法,找的方法在Linux 下也不怎么好用,最后找到了解决Linux下MySQL文件导入出错的方法 出错的原因是因为在My

MySQL关于ERROR 1290 (HY000)报错

一个问题纠结很久,反复确认语法问题.但是后来网上搜了一下,茅塞顿开.特此总结一下. mysql> grant select,insert,update,delete on *.* to 'root'@'%'; ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement mysql> flush privileges;

不允许在子查询的同时删除原表数据(ERROR 1093 (HY000))

delete from t where userid in (select userid from t where userid < 10); ERROR 1093 (HY000): You can't specify target table 't' for update in FROM clause delete from t where userid in (select userid from (select userid from t where userid < 10) tmp )

mysql连接报错 ERROR 2002 (HY000): Can&#39;t connect to local MySQL server through socket

安装完mysql连接报错: [[email protected] app]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [[email protected] app]# mysql -uroot -p Enter password:  ERROR 2002 (HY000): Can't connect to local M

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mysql 启动不了

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mysql 启动不了 ps -A | grep -i mysql kill 列出来的进程 service mysql start 我的问题就解决了 ---------------------------------------------- Fedora8启动mysql 报错:ERROR 2002 (HY000): Can’t connect