当我想运行一个.jar文件时,.jar文件需要mysql驱动程序,并且我在我的主文件中添加了路径。但不起作用。我相信这条路是对的。这里我的清单文件:(MANIFEST.MF)Main-Class: com.project.beta.Main这是一个错误:
Error - Problem with the MySQL server, error: java
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQLclientuse mysql;
update user set authentication_string=password(''), plugin='mysql_native_password' where user='
我在mysql网站上安装了“MacOSX10.9 (x86,64位),DMG存档”,我不能以超级用户身份访问("mysql -uroot -p"),因为我不知道密码。有没有默认密码之类的?因此,我以匿名身份访问mysql,以便在命令行上使用“ud./mysqld_safe --skip-grant-tables”。我试过了
update user set password=PASSWORD("mynewpassword") where User='root