Skip to content
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

connection issue #15

Closed
mastergaminglord opened this issue Jun 18, 2020 · 24 comments
Closed

connection issue #15

mastergaminglord opened this issue Jun 18, 2020 · 24 comments

Comments

@mastergaminglord
Copy link

when i try to start my server with cucumber installed it get this error

2020-06-18 [16:49:28] [Server thread/CRITICAL]: adeynes\cucumber\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Connection refused" (EXCEPTION) in "plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/libasynql" at line 133

is this fixable

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

This is a problem on your end. You haven't set up the connection correctly (probably incorrect username/password in config.yml).

@adeynes adeynes closed this as completed Jun 18, 2020
@mastergaminglord
Copy link
Author

also extra info I have tried this plugin on its own with no other plugin and it the same problem occured

@mastergaminglord
Copy link
Author

in the config.yml folder what do I type in the password thing

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

in the config.yml folder what do I type in the password thing

You type the password for the MySQL user. You'll also need a database for cucumber and the user needs access to that database.

@mastergaminglord
Copy link
Author

the plugin assumes you automatically have MySQL but idk if i do or not

@mastergaminglord
Copy link
Author

which is why i am confused

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

Yes, the plugin requires MySQL. I haven't developed it with other systems in mind, although SQLite might come in the future.

@mastergaminglord
Copy link
Author

um where do you download MySQL

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

Windows or Linux?

@mastergaminglord
Copy link
Author

no i mean the website

and also are u able to ban someone for permanent off the server or is it only temp ban

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

no i mean the website

I mean, are you on Linux or on Windows?

and also are u able to ban someone for permanent off the server or is it only temp ban

Both

@mastergaminglord
Copy link
Author

im on windows yes
if its perm ban is it -1 in the duratation

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

https://dev.mysql.com/downloads/installer/
You might also want to download phpmyadmin to manager your database here: https://www.phpmyadmin.net/downloads/

For perm ban you don't put a duration at all, ex. /ban mastergaminglord (if I wanted to ban you for 1 month 15 days I'd do /ban mastergaminglord -d 1M15d)

@mastergaminglord
Copy link
Author

this is taking a while are u trying to find the download links

@mastergaminglord
Copy link
Author

ohh i see it now

@mastergaminglord
Copy link
Author

thx for your help i will get back to you if i need help with the database btw im using aternos

also the reason why i installed this plugin in the first place was because the kicked and banned by admin messages are really annoying
thx for your help

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

You're welcome, I hope you can figure out. Don't be afraid to google stuff if you can't figure something out, it's not necessarily intuitive at first. What you need to do is create a database with phpmyadmin and a user that goes with it, and put all that in config.yml

I hope you enjoy the plugin

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

Wait, if you're using Aternos installing MySQL on your computer won't do anything. Does Aternos not have MySQL databases?

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

Seems like Aternos doesn't offer MySQL databases. In that case you might want to use this https://www.freesqldatabase.com/ and put the IP of the database along with username, password, etc in config.yml

@mastergaminglord
Copy link
Author

thx for that but there is a problem

it says I need a oracle account and I press sign up and it says I need a work phone and things so idk

@adeynes
Copy link
Owner

adeynes commented Jun 18, 2020

I'm sorry but I can't help you with this, I haven't used MySQL on Windows and Github isn't tech support. You'll have to ask somewhere that actually does support for this kind of stuff

@mastergaminglord
Copy link
Author

its fine

@mastergaminglord
Copy link
Author

im actually really upset now every time i try to click the link it sends me to a blank page with error and i think its blocked my ip address permanently

@mastergaminglord
Copy link
Author

adeynes i have a question

am I able to unban myself I did /ban through the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants