如果想要加上在navicat上有没有权限,这个时候就应该到本地cmd终端中进行权限的添加、
具体的 *** 作:
1. 可以进入数据库,但无update权限:
*** 作过程:在WINDOWS的DOS窗口下,进入MYSQL安装目录的BIN目录,
运行mysqld-nt --skip-grant-tables,当前窗口将会停止。
另外打开一个命令行窗口,执行mysql 如果提示没有这个命令,先进入MYSQL的安装位置下BIN目录再运行mysql
>use mysql
>update user set Update_priv ='Y' where user = 'root'
如果root 没有所有数据的权限
更新的MYSQL.USER表的所有字段中为N的为Y就可以了。
update user set Select_priv ='Y' where user = 'root'
update user set Insert_priv ='Y' where user = 'root'
update user set Update_priv ='Y' where user = 'root'
update user set Delete_priv ='Y' where user = 'root'
update user set Create_priv ='Y' where user = 'root'
update user set Drop_priv ='Y' where user = 'root'
update user set Reload_priv ='Y' where user = 'root'
update user set Shutdown_priv ='Y' where user = 'root'
update user set Process_priv ='Y' where user = 'root'
update user set File_priv ='Y' where user = 'root'
update user set Grant_priv ='Y' where user = 'root'
update user set References_priv ='Y' where user = 'root'
update user set Index_priv ='Y' where user = 'root'
update user set Alter_priv ='Y' where user = 'root'
update user set Show_db_priv ='Y' where user = 'root'
update user set Super_priv ='Y' where user = 'root'
update user set Create_tmp_table_priv ='Y' where user = 'root'
update user set Lock_tables_priv ='Y' where user = 'root'
update user set Execute_priv ='Y' where user = 'root'
update user set Repl_slave_priv ='Y' where user = 'root'
update user set Repl_client_priv ='Y' where user = 'root'
update user set Create_view_priv ='Y' where user = 'root'
update user set Show_view_priv ='Y' where user = 'root'
update user set Create_routine_priv ='Y' where user = 'root'
update user set Alter_routine_priv ='Y' where user = 'root'
update user set Create_user_priv ='Y' where user = 'root'
update user set Event_priv ='Y' where user = 'root'
update user set Trigger_priv ='Y' where user = 'root'
维普数据库权限不足的意思是说明是管理员没有给你分配足够的权限,你没有权限访问你要访问的东西。维普是中国第一个也是迄今为止收录量最多的中文期刊全文数据库。维普中文科技期刊全文数据库创建于1989年,由国家科技部西南信息中心重庆维普资讯公司研究开发。该数据库是我国自建的第一个CD-ROM光盘数据库。维普中文科技期刊全文数据库分为“全文版”和“题录文摘版”,收录了1989年至今的8000余种中文科技期刊、2000余种人文社科期刊,包括社会科学、自然科学、工程技术、农业科学、医药卫生、经济管理、教育科学和图书情报等八大专辑。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)