Ubuntu上使用jsp去连接mysql的时候踢提示Access denied for user 'root'@'localhost' (using password: YES)的解决办法!!!
来源:互联网 发布:贵州广电网络收费标准 编辑:程序博客网 时间:2024/06/05 14:25
今天在使用jsp去连接mysql的时候提示Access denied for user 'root'@'localhost' (using password: YES)这个错误,是因为root用户没有权限,于是找解决办法:
1.在终端上进入数据库的命令行:
mysql -u root -p 在输入密码后进入mysql的命令行
2.接着输入命令下面两条命令:
grant all privileges on *.* to 'root'@'localhost' identified by '密码' with grant option;
flush privileges;
3.重启电脑问题解决
0 0
- Ubuntu上使用jsp去连接mysql的时候踢提示Access denied for user 'root'@'localhost' (using password: YES)的解决办法!!!
- MySQL的时候提示Access denied for user 'root'@'localhost' (using password: YES)
- mysql 提示 access denied for user 'root'@'localhost'(using password:YES) 的解决方法
- mysql中Access denied for user 'root'@'localhost' (using password:YES)的解决办法(本人实操)
- windows XP中,mysql连接时提示:1045 access denied for user 'root'@'localhost' using password yes 的解决方法
- linux下连接windows mysql的错误:Access denied for user 'root'@'localhost' (using password: YES)
- Linux下连接Mysql出现:Access denied for user 'root'@'localhost' (using password:YES)的解决方法
- Ubuntu mysql 的Access denied for user 'root'@'localhost' (using password: YES错误解决方法
- Ubuntu下MySQL的“ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)”
- 解决ubuntu下mysql的'Access denied for user 'root'@'localhost' (using password: YES)'
- 使用dbcp出现 Access denied for user 'root'@'localhost' (using password:YES) 的解决办法
- mysql启动提示 access denied for user root@localhost(using password:YES) 解决办法总结
- 连接mysql的时候报错Access denied for user: 'root@127.0.0.1' (Using password: YES)
- 连接mysql报错Access denied for user 'root'@'localhost' (using password: YES)解决办法
- JSP连接MySQL时错误:Access denied for user 'root'@'localhost' (using password: YES)'解决方案
- JSP连接MySQL时出现--错误:Access denied for user 'root'@'localhost' (using password: YES)'解决方案
- eclipse连接不上mysql Access denied for user 'root'@'localhost' (using password: YES)
- Grant的时候报错的解决:Access denied for user 'root'@'localhost' (using password: YES)
- 利用QtGraphicalEffects来使得自己的图像显示更加生动
- 常用排序--冒泡/快速排序
- sed 转译
- 安卓应用开发实战:[2]修改程序名称&标题
- CSS学习笔记(记录一些小技巧)
- Ubuntu上使用jsp去连接mysql的时候踢提示Access denied for user 'root'@'localhost' (using password: YES)的解决办法!!!
- 22、linux文件属性详解
- v4转v6
- 笔试——数据库、网络、操作系统(Linux)
- 2012年5月SAT香港真题解析
- MySQL事务隔离级别详解
- Python 拷贝对象(深拷贝deepcopy与浅拷贝copy)
- 第九节 linux标准输入输出操作
- xp下载地址及密钥