GithubHelp home page GithubHelp logo

Comments (4)

ericgrandt avatar ericgrandt commented on July 28, 2024

This one should work, not sure why it isn't:

database {
    enable=true
    password="mypassword"
    url="mysql://158.69.121.39:3306/s2_TotalEconomy"
    user="u2_w1us4b8NrX"
}

Could it potentially not allow connections to the database from wherever you're running the server from? Also, could you send me the full log file?

Also this issue may be related to what you're going through: #327. MySQL issues have been fixed in the past by downgrading the version. At the time this issue was created, a downgrade from MySQL8 to MySQL 5 fixed it.

By the way, I removed the link to your gist as I believe one of the url's still contained a password, so please check that out.

from totaleconomy.

itzrobotix avatar itzrobotix commented on July 28, 2024

I have other plugins hooked into other SQL Databases just fine and also thanks for removing the link, the password will be changed now but I must have missed that one. Is it at all possible, there was an โ€˜@โ€˜ in the password. Could that cause issues with the url?
The only error it gives is to check the credentials which I can see is the message thrown from the UncheckedExecutionException. So I can only assume itโ€™s an issue with my credentials and the only possible thing anyone has been able to suggest is the fact there was an @ in the previous password. Havenโ€™t tried it without yet but plan to on next server restart, could this be the issue?

Thanks for your quick response by the way!

from totaleconomy.

itzrobotix avatar itzrobotix commented on July 28, 2024

UPDATE: The password having an "@" symbol in it was causing the connection issue, it managed to connect to the database but now it's having another issue that's kind of related.
Seems it's unable to create the tables in the database or something, here is the stacktrace;
https://pastebin.com/Tt89k62S
Any idea what is causing this issue? @Erigitic

EDIT: I also found this stacktrace; https://pastebin.com/303nhHGj
Seems creating the table when a player joins then causes an issue and I'm not sure why.

FINAL EDIT: Both issues fixed. The first issue was resolved by removing the "@" from the database password. The second issue was caused by one of our currency names containing a space.

from totaleconomy.

ericgrandt avatar ericgrandt commented on July 28, 2024

I'll take note of the issue with the @ in the password. I'm sure the way the password is being passed into the connection string is incorrect in the code itself, and should be an easy fix.

from totaleconomy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.