-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nacos+MySQL8 startup error #855
Conversation
pull latest code
pader.zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Please add design documents and usage documents.
If you need to use the Mysql 8.0 database, you can put Mysql 8.0 database driver on xx/nacos/plguins/mysql Directory it seems not be work。 |
I meet the same issue. My environment is: |
succeed in linux, error in win10 |
I solved my problem by change the mysql config |
This doesn't work on Windows. 💔 |
我在set "JAVA_OPT=%JAVA_OPT% -Dloader.path这里加上%BASE_DIR%\plugins\mysql解决了 |
Issue:
#852 #613
The solution
Use class.forname to determine which version of the database driver to use,And Use Class.forName to determine which version of the database driver to use, and put the driver Jar in the plugins directory. By default, use
mysql-connector-java-5.1.34.jar
.Good point
Usage
If you need to use the Mysql 8.0 database, you can put Mysql 8.0 database driver on xx/nacos/plugins/mysql Directory